Changing wiki pages using mediawiki API doesn't work last days #4246
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#4246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
= bug description =
I played with wikitools (1) a bit, a python mediawiki API library, since it will be definitely interesting for some automation tasks (about to include to fedora as well (2), testing RPM available at (3)).
I was able to connect, load and edit the page with that tool on the last Thursday, but last days (since cca this Saturday) I get "500: Internal Server Error" when trying to change the content of a testing page.
(1) https://github.com/alexz-enwp/wikitools
(2) https://bugzilla.redhat.com/show_bug.cgi?id=1071581
(3) http://koji.fedoraproject.org/koji/taskinfo?taskID=6590113
= bug analysis =
How to reproduce:
Actual results:
urllib2.HTTPError: HTTP Error 500: Internal Server Error
This was caused by a bug introduced in mediawiki 1.19.12.
This has been solved after we just upgraded to mediawiki 1.19.13.