Bugs item #3115233, was opened at 2010-11-22 09:55 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3115233...
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: category Group: None
Status: Pending Resolution: Fixed
Priority: 5 Private: No Submitted By: rubin16 (rubin16)
Assigned to: xqt (xqt)
Summary: category_redirect.py
Initial Comment: There is one problem with this script. Imagine that category redirect leads from Category X to Category Y. There are both categories X and Y in one article, Script changes X to Y and we get double Y category in wikicode. Is it possible to update script so that it wouldn't add double category but just delete category X because Y is already present?
http://ru.wikipedia.org/w/index.php?title=%D0%A2%D0%B0%D0%BD%D0%BA%D0%BE%D0%...
You can see such a behaviour in the diff - redirect from Category:Военная наука is changed to Category:Военное дело. But we already have such a category and that's why we get: [[Категория:Военное дело]] [[Категория:Военное дело]]
Category_redirect.py is translated for ru.wiki - I'll post the patch later
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-07-10 18:36
Message: maybe fixed in r9362 (update from rewrite)
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3115233...
pywikipedia-bugs@lists.wikimedia.org