Last modified: 2013-11-12 06:11:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57275, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55275 - bug in category_redirect.py
bug in category_redirect.py
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
category.py (Other open bugs)
unspecified
All All
: Low minor
: ---
Assigned To: Amir Ladsgroup
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:55 UTC by Kunal Mehta (Legoktm)
Modified: 2013-11-12 06:11 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:55:34 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
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:55:36 UTC
I am wondering: category\_redirect has no localisations for es-wiki.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:55:38 UTC
- **assigned_to**: nobody --> xqt
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:55:40 UTC
I did it, is here: https://sourceforge.net/tracker/?func=detail&aid=2988851&group\_id=93107&atid=603140
Comment 4 Amir Ladsgroup 2013-10-24 21:35:38 UTC
I see the bug, (I don't why) there is a line in the code that forces to edit anyway. I'll fix it :)
Comment 5 Gerrit Notification Bot 2013-11-09 11:39:38 UTC
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
Comment 6 Gerrit Notification Bot 2013-11-09 11:50:07 UTC
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
Comment 7 Gerrit Notification Bot 2013-11-12 04:30:26 UTC
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
Comment 8 Gerrit Notification Bot 2013-11-12 05:48:53 UTC
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
Comment 9 xqt 2013-11-12 05:55:32 UTC
The easiest way to prevent this bug is to deactivate cosmetic changes while running this script. My last patches does this by framework itself.
Comment 10 Gerrit Notification Bot 2013-11-12 06:00:49 UTC
Change 94846 merged by jenkins-bot:
[BUG 55275] Prevent category_redirect.py from doing cosmetic changes

https://gerrit.wikimedia.org/r/94846
Comment 11 Gerrit Notification Bot 2013-11-12 06:01:06 UTC
Change 94495 abandoned by Ladsgroup:
Removing nonsense comments and not letting edit when no change can be made

https://gerrit.wikimedia.org/r/94495
Comment 12 Gerrit Notification Bot 2013-11-12 06:01:12 UTC
Change 94496 abandoned by Ladsgroup:
Removing nonsense comments and not letting edit when no change can be made

https://gerrit.wikimedia.org/r/94496
Comment 13 Amir Ladsgroup 2013-11-12 06:06:45 UTC
patches 94846 and 94845 (both merged) would solve this bug
Comment 14 Gerrit Notification Bot 2013-11-12 06:11:38 UTC
Change 94845 merged by jenkins-bot:
[BUG 55275] Prevent category_redirect.py from doing cosmetic changes

https://gerrit.wikimedia.org/r/94845

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links