[Pywikipedia-l] [ pywikipediabot-Feature Requests-1864162 ] Error interwiki.py and sysop account

SourceForge.net noreply at sourceforge.net
Sat Jul 19 03:02:17 UTC 2008


Feature Requests item #1864162, was opened at 2008-01-04 17:11
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1864162&group_id=93107

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: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Leonardo Gregianin (leogregianin)
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 furaco Katrina em Nova
 Orlees, nos EUA]]======
Updating links on page [[es:Numerosas personas huyen del huracn Katrina en Nue
va Orleans]].
No changes needed
Updating links on page [[pt:Milhares de pessoas fogem do furaco Katrina em Nov
a Orlees, 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 furaco Katrina em Nova Orlee
s, nos EUA]]
200 OK
WARNING: wikinews: [[pt:Milhares de pessoas fogem do furaco Katrina em Nova Or
lees, 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: Nobody/Anonymous (nobody)
Date: 2008-06-23 16:27

Message:
Logged In: NO 

close this?

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-01-05 14:24

Message:
Logged In: NO 

I view the html code and a user in pt.wn don't say me the truth about
sysop bot. 

You can close the ticket :$

----------------------------------------------------------------------

Comment By: Rotem Liss (rotemliss)
Date: 2008-01-05 05: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&group_id=93107



More information about the Pywikipedia-l mailing list