Page MenuHomePhabricator

redirect pages not properly followed.
Closed, DeclinedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/964/
Reported by: purodha
Created on: 2009-06-22 18:23:09
Subject: redirect pages not properly followed.
Original description:
A disambiguation page interwiki links to a redirect page which redirects
to a diambiguation page. The link is incorrectly not followed.

Note: \[\[de:A61\]\] is a redirect to \[\[de:A 61\]\] which is a disambiguation.

Here is the output \(relevant lines only\):

python interwiki.py -v -initialredirect -autonomous -recentchanges:300
Pywikipediabot \(r6978 \(wikipedia.py\), Jun 21 2009, 13:58:28\)
Python 2.5.2 \(r252:60911, Jan 4 2009, 21:59:32\)

NOTE: Number of pages queued is 0, trying to add 60 more. Getting 60 pages from wikipedia:ksh... ... NOTE: Ignoring link from disambiguation page \[\[ksh:A 61 \(Watt eßß datt?\)\]\] to non-disambiguation \[\[de:A61\]\] NOTE: ignoring \[\[de:A61\]\] and its interwiki links .... ======Post-processing \[\[ksh:A 61 \(Watt eßß datt?\)\]\]====== Updating links on page \[\[ksh:A 61 \(Watt eßß datt?\)\]\]. WARNING: \[\[de:A61\]\] is either deleted or has a mismatching disambiguation state. No changes needed WARNING: wikipedia: \[\[ksh:A 61 \(Watt eßß datt?\)\]\] links to incorrect \[\[de:A61\]\]

The redirect should have been followed.


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/964

Details

Reference
bz55301

Related Objects

StatusSubtypeAssignedTask
ResolvedXqt
DeclinedNone

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:32 AM
bzimport set Reference to bz55301.
bzimport added a subscriber: Unknown Object (????).

Starting off a redirect on the source side did the job. See below.
So likely, the problem is that, the disambig status of the source page
was not properly stored in the above case, but now was.

Full output:

python interwiki.py -v -initialredirect -autonomous A61
DBG> BUG: Non-unicode \(<type 'str'>\) passed to wikipedia.output without decoder\!
File "/home/purodha/pywikipedia/interwiki.py", line 1946, in <module>
for arg in wikipedia.handleArgs\(\):
File "/home/purodha/pywikipedia/wikipedia.py", line 6503, in handleArgs
output\('Pywikipediabot %s' % \(version.getversion\(\)\)\)
File "/home/purodha/pywikipedia/wikipedia.py", line 6836, in output
print traceback.print\_stack\(\)
None
DBG> Attempting to recover, but please report this problem
Pywikipediabot \(r6978 \(wikipedia.py\), Jun 21 2009, 13:58:28\)
DBG> BUG: Non-unicode \(<type 'str'>\) passed to wikipedia.output without decoder\!
File "/home/purodha/pywikipedia/interwiki.py", line 1946, in <module>
for arg in wikipedia.handleArgs\(\):
File "/home/purodha/pywikipedia/wikipedia.py", line 6504, in handleArgs
output\('Python %s' % \(sys.version\)\)
File "/home/purodha/pywikipedia/wikipedia.py", line 6836, in output
print traceback.print\_stack\(\)
None
DBG> Attempting to recover, but please report this problem
Python 2.5.2 \(r252:60911, Jan 4 2009, 21:59:32\)
\[GCC 4.3.2\]
Retrieving mediawiki messages from Special:Allmessages

WARNING: No character set found. Getting 1 pages from wikipedia:ksh... NOTE: \[\[ksh:A61\]\] is redirect to \[\[ksh:A61 \(Watt eßß datt?\)\]\] Getting 1 pages from wikipedia:ksh... NOTE: \[\[ksh:A61 \(Watt eßß datt?\)\]\] is redirect to \[\[ksh:A 61\]\] Getting 1 pages from wikipedia:ksh... NOTE: \[\[ksh:A 61\]\] is redirect to \[\[ksh:A 61 \(Watt eßß datt?\)\]\] Getting 1 pages from wikipedia:ksh... \[\[A 61 \(Watt eßß datt?\)\]\]: \[\[ksh:A 61 \(Watt eßß datt?\)\]\] gives new interwiki \[\[de:A61\]\] Getting 1 pages from wikipedia:de... NOTE: \[\[de:A61\]\] is redirect to \[\[de:A 61\]\] \[\[A 61 \(Watt eßß datt?\)\]\]: \[\[de:A61\]\] gives new redirect \[\[de:A 61\]\] Getting 1 pages from wikipedia:de... ======Post-processing \[\[ksh:A 61 \(Watt eßß datt?\)\]\]====== Updating links on page \[\[de:A 61\]\]. Changes to be made: Ergänze: ksh \+ \+ \[\[ksh:A 61 \(Watt eßß datt?\)\]\]
NOTE: Updating live wiki... Getting information for site wikipedia:de Note: this language does not allow global bots. Changing page \[\[de:A 61\]\] Retrieving mediawiki messages from Special:Allmessages WARNING: No character set found. Updating links on page \[\[ksh:A 61 \(Watt eßß datt?\)\]\]. Changes to be made: ußjewääßelt: de \+ \- \[\[de:A61\]\] \+ \[\[de:A 61\]\]
NOTE: Updating live wiki... Getting information for site wikipedia:ksh Note: this language does not allow global bots. Changing page \[\[A 61 \(Watt eßß datt?\)\]\] ~$
Ladsgroup triaged this task as Lowest priority.Jun 7 2015, 3:29 PM
Ladsgroup edited projects, added Pywikibot-compat; removed Pywikibot-interwiki.py.
Ladsgroup set Security to None.
Xqt subscribed.

Compat decommission.