Bugs item #1796174, was opened at 2007-09-17 05:25 Message generated for change (Comment added) made by nobody 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: Open Resolution: None 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: Nobody/Anonymous (nobody) Date: 2007-09-24 09: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...