Bugs item #3115233, was opened at 2010-11-22 11:55
Message generated for change (Tracker Item Submitted) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=311523…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
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=Танкобоязнь&diff=29580221&…
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=311523…