On Sat, Oct 25, 2008 at 10:05 PM, Brion Vibber brion@wikimedia.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Robert Ullmann wrote:
The reason may be the new requirement of sending non-empty and non-zero (?) wpStarttime and wpEdittime parameters for all edit requests, including new page creations [1].
[1] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=42037
That would do it. It breaks even today's svn version of the python wikipedia framework.
Did anyone even think that this might break something?
If you screen-scrape an HTML *user interface form* for your bot, YOU WILL GET BROKEN BY CHANGES, especially if you don't bother to even TRY to behave like an actual client (which would load all the required form variables from the edit page in the first place).
Indeed. If you are using screenscraping, you should at least bother to run a HTML parser over the edit page. You need it anyway to get the content and other tokens. See http://mwclient.svn.sourceforge.net/viewvc/mwclient/trunk/mwclient/page_nowriteapi.py?revision=45&view=markup for an example.