= 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: 1. get wikitools Python library from (1), (2) or (3) 2. python> from wikitools import wiki 3. python> from wikitools import page 4. python> site = wiki.Wiki("https://fedoraproject.org/w/api.php") 5. python> p=page.Page(site, title='User:Hhorak/draft/testingpage') 6. python> site.login(username="your_fas", password="your_fas_pass") 7. python> p.edit(appendtext='new text appended')
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.
Login to comment on this ticket.