https://bugzilla.wikimedia.org/show_bug.cgi?id=69186
Bug ID: 69186
Summary: Option -redirect in "add" mode does not change outcome
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: category.py
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l