I can't get the bot to handle wpEditToken correctly. It worked correctly before, but now it always gets preview instead of submit pages.
I added code to find the wpEditToken, and to send it with the post, but that had no result.
Here are the data that were sent in one attempt:
wpSave=1&wpPreview=0&wpSummary=robot%20%20Erbij%3Aen%2Cja%2Cda&wpTextbox1=%27%27%27Lord%20Howe-eiland%27%27%27%20is%20een%20%5B%5Beiland%5D%5D%20van%20%5B%5BAustrali%EB%5D%5D%20en%20werd%20in%20%5B%5B1982%5D%5D%20op%20de%20%5B%5BWerelderfgoedlijst%5D%5D%20geplaatst%20vanwege%20zijn%20zeldzame%20collectie%20van%20planten%2C%20vogels%2C%20zeeleven%20%28%5B%5Bkoraal%5D%5D%29%2C%20en%20uitzonderlijke%20natuurlijke%20schoonheid.%0D%0A%0D%0AHet%20is%20%E9%E9n%20van%20slechts%20vier%20eilandengroepen%20die%20tot%20%5B%5BWerelderfgoed%5D%5D%20is%20uitgeroepen.%0D%0A%20%0D%0AHet%20eiland%20is%20te%20bereiken%20door%20een%20vliegreis%20van%202-uur%20vanaf%20%5B%5BSydney%5D%5D%20of%20%5B%5BBrisbane%5D%5D.%0D%0A%0D%0A%3D%3DExterne%20link%3D%3D%0D%0A%2Ahttp%3A//www.lordhoweisland.info/%0D%0A%0D%0A%5B%5Bcategorie%3AAustrali%EB%5D%5D%0D%0A%5B%5Bcategorie%3AEiland%5D%5D%0D%0A%5B%5Bcategorie%3AWerelderfgoed%5D%5D%0A%0D%0A%5B%5Bda%3ALord%20Howe%20Island%5D%5D%0D%0A%5B%5Ben%3ALord%20Howe%20Island%5D%5D%0D%0A%5B%5Bja%3A%26%2312525%3B%26%2312540%3B%26%2312489%3B%26%2312539%3B%26%2312495%3B%26%2312454%3B%26%2323798%3B%5D%5D%0D%0A&wpSection=&wpEdittime=20050204103625&wpMinoredit=1&wpWatchthis=0&wpEditToken=16061ded2f1a5b0b
Andre Engels
Andre Engels wrote:
I can't get the bot to handle wpEditToken correctly. It worked correctly before, but now it always gets preview instead of submit pages.
I added code to find the wpEditToken, and to send it with the post, but that had no result.
Here are the data that were sent in one attempt:
wpSave=1&wpPreview=0
Why are you sending wpPreview=0? The presence of wpPreview will engage preview mode; don't send it at all.
(Processing of save vs preview mode has changed a bit from how it used to be in changes unrelated to wpEditToken.)
-- brion vibber (brion @ pobox.com)
Brion:
Why are you sending wpPreview=0? The presence of wpPreview will engage preview mode; don't send it at all.
(Processing of save vs preview mode has changed a bit from how it used to be in changes unrelated to wpEditToken.)
In a first attempt to resolve the problems, I thought that I now had to send all elements of the form, so I gave them all values...
After removing it, I don't get any preview pages any more, however, I am now getting "500 Internal server error" error messages. I'll be checking again tomorrow, but for 'normal' editing, Wikipedia seems to be rather well-behaved at the moment.
Andre Engels
wikitech-l@lists.wikimedia.org