Feature Requests item #1864162, was opened at 2008-01-04 22:11 Message generated for change (Comment added) made by rotemliss You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1864162...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Error interwiki.py and sysop account
Initial Comment: I'm using a sysop bot to make some interwikies in protected pages in pt.wikinews. The bot finds a new interwikies, but the bot doesn't save.
This bot have sysop at pt.wikinews and es.wikinews, because both wikies are protecting pages to prevent spam bot and another things.
Here is a example:
======Post-processing [[pt:Milhares de pessoas fogem do furacão Katrina em Nova Orleães, nos EUA]]====== Updating links on page [[es:Numerosas personas huyen del huracán Katrina en Nue va Orleans]]. No changes needed Updating links on page [[pt:Milhares de pessoas fogem do furacão Katrina em Nov a Orleães, nos EUA]]. Changes to be made: Modificando: [[en:Mandatory evacuation declared in New Orle ans, US]] + [[de:Angst vor dem Hurrikan: New Orleans wird evakuiert]] + [[en:Mandatory evacuation declared in New Orleans, US]] - [[en:Mandatory Evacuation declared in New Orleans]] - [[de:Angst vor dem Hurrikan: New Orleans wird evakuiert]]
NOTE: Updating live wiki... Page is locked, using sysop account. Sleeping for 3.0 seconds, 2008-01-04 17:05:23 Changing page [[pt:Milhares de pessoas fogem do furacão Katrina em Nova Orleãe s, nos EUA]] 200 OK WARNING: wikinews: [[pt:Milhares de pessoas fogem do furacão Katrina em Nova Or leães, nos EUA]] does not link to [[en:Mandatory evacuation declared in New Orl eans, US]] but to [[en:Mandatory Evacuation declared in New Orleans]] WARNING: wikinews: [[en:Mandatory evacuation declared in New Orleans, US]] links to incorrect [[nl:New-Orleans houdt hart vast voor komst Katrina]]
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss) Date: 2008-01-05 10:57
Message: Logged In: YES user_id=1327030 Originator: NO
It seems like an error Page.put didn't detect. Please replace line 1114 in your copy of interwiki.py: wikipedia.output(u'%s %s' % (status, reason)) (if this is not the line, update the file first) to: wikipedia.output("Data: %s" % data) (make sure to keep the spaces before the line!) and copy the results to here. This will output the whole HTML data from the server in case of error (note that it will contain many lines). Make sure to change the line to the previous text before using interwiki.py again.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1864162...
pywikipedia-l@lists.wikimedia.org