Page MenuHomePhabricator

fixing_redirects.py encodes section-link hexadecimally.
Closed, ResolvedPublicBUG REPORT

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/743/
Reported by: nightshadow28
Created on: 2008-06-11 10:22:29
Subject: fixing_redirects.py encodes section-link hexadecimally.
Original description:
fixing\_redirects.py encodes section-link hexadecimally.

When fixing\_redirects.py fixes in-line links, the bot will replace section name hexadecimally.

For example,
http://ja.wikipedia.org/w/index.php?title=%E7%94%9F%E7%89%A9%E5%AD%A6&diff=prev&oldid=20164965

original link: \[\[目的論\]\]
redirect: \[\[目的\#目的論\]\]
result of the bot: \[\[目的\#.E7.9B.AE.E7.9A.84.E8.AB.96|目的論\]\]

The result is difficult to maintenance by human...

Pywikipedia \[http\] trunk/pywikipedia \(r5554, Jun 10 2008, 15:47:56\)
Python 2.5.2 \(r252:60911, Apr 21 2008, 11:12:42\)
\[GCC 4.2.3 \(Ubuntu 4.2.3-2ubuntu7\)\]


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

Details

Reference
bz55320

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:34 AM
bzimport set Reference to bz55320.
bzimport added a subscriber: Unknown Object (????).
Aklapper triaged this task as Low priority.Feb 4 2022, 8:07 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".
Xqt subscribed.

Look like a Python 2 issue and should be solved with Python 3

Xqt claimed this task.

Pretty sure this is solved with Pywikibot 4 already