Bugs item #1796174, was opened at 2007-09-17 08:25 Message generated for change (Comment added) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1796174...
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: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: category.py bug with -person and DEFAULTSORT templates
Initial Comment: When using the -person switch on category.py to add categories to articles which use the {{DEFAULTSORT}} template, the script doesn't understand that the category already exists. For example:
python category.py add -person
(Add category "La Liga players")
The article might look like:
{{DEFAULTSORT:Pauleta}} [[Category:La Liga Players]]
And the script will not understand that the category already exists for this article and add:
[[Category:La Liga players|Pauleta]]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2008-03-13 08:42
Message: Logged In: YES user_id=855050 Originator: NO
Not sure when this was fixed, but category.py now correctly recognizes existing categories with or without sort keys.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2007-09-24 12:33
Message: Logged In: NO
Also, the script SHOULD NOT add sorting information, even when using -person, to articles which use the DEFAULTSORT template.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1796174...