Last modified: 2014-09-02 16:07:56 UTC
The default behaviour is with scripts/category.py when it's adding a category, that redirecting pages are skipped, unless "-redirect" is set. Currently this option doesn't change things because as described in bug #69185 the content of the redirect target is read but not properly handed to the next stage. Even if that is fixed, the next problem is that it only checks if it's a redirect on load and not on save, where it's throwing it's hand up. The fix is simply to change the Page instance to the redirect target if the option is set.
Change 152107 had a related patch set uploaded by XZise: Category.py script handles empty and redirect pages https://gerrit.wikimedia.org/r/152107
Change 152107 merged by jenkins-bot: Category.py script handles empty and redirect pages https://gerrit.wikimedia.org/r/152107
https://gerrit.wikimedia.org/r/152107 merged, is this fixed?