Last modified: 2013-11-12 06:11:38 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1167/ Reported by: manuelt15 Created on: 2010-04-18 00:01:52 Subject: bug in category_redirect.py Assigned to: xqt Original description: Hello, after using category\_redirect.py it only did cosmetic changes 2 pages. First was <http://es.wikipedia.org/w/index.php?title=Mi\_t%C3%ADo&diff=prev&oldid=36106587> trying to change <http://es.wikipedia.org/wiki/Categor%C3%ADa:Pel%C3%ADculas\_en\_frances> the same with <http://es.wikipedia.org/w/index.php?title=McCabe\_%26\_Mrs.\_Miller&diff=prev&oldid=36106568> trying to chane <http://es.wikipedia.org/wiki/Categor%C3%ADa:Pel%C3%ADculas\_de\_Warner\_Bros> maybe the problem is with the accents... C:\bot>version.py Pywikipedia \[http\] trunk/pywikipedia \(r8102, 2010/04/16, 10:28:09\) Python 2.6.2 \(r262:71605, Apr 14 2009, 22:40:02\) \[MSC v.1500 32 bit \(Intel\)\] config-settings: use\_api = True use\_api\_login = True
I am wondering: category\_redirect has no localisations for es-wiki.
- **assigned_to**: nobody --> xqt
I did it, is here: https://sourceforge.net/tracker/?func=detail&aid=2988851&group\_id=93107&atid=603140
I see the bug, (I don't why) there is a line in the code that forces to edit anyway. I'll fix it :)
Change 94495 had a related patch set uploaded by Ladsgroup: Removing nonsense comments and not letting edit when no change can be made https://gerrit.wikimedia.org/r/94495
Change 94496 had a related patch set uploaded by Ladsgroup: Removing nonsense comments and not letting edit when no change can be made https://gerrit.wikimedia.org/r/94496
Change 94845 had a related patch set uploaded by Xqt: [BUG 55275] Prevent category_redirect.py from doing cosmetic changes https://gerrit.wikimedia.org/r/94845
Change 94846 had a related patch set uploaded by Xqt: [BUG 55275] Prevent category_redirect.py from doing cosmetic changes https://gerrit.wikimedia.org/r/94846
The easiest way to prevent this bug is to deactivate cosmetic changes while running this script. My last patches does this by framework itself.
Change 94846 merged by jenkins-bot: [BUG 55275] Prevent category_redirect.py from doing cosmetic changes https://gerrit.wikimedia.org/r/94846
Change 94495 abandoned by Ladsgroup: Removing nonsense comments and not letting edit when no change can be made https://gerrit.wikimedia.org/r/94495
Change 94496 abandoned by Ladsgroup: Removing nonsense comments and not letting edit when no change can be made https://gerrit.wikimedia.org/r/94496
patches 94846 and 94845 (both merged) would solve this bug
Change 94845 merged by jenkins-bot: [BUG 55275] Prevent category_redirect.py from doing cosmetic changes https://gerrit.wikimedia.org/r/94845