Wesalius created this task. Wesalius added a subscriber: Wesalius. Wesalius added a project: Pywikibot-category.py. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION After moving categories on w:cs with category.py move there are no sortkeys.
In this [[ https://cs.wikipedia.org/w/index.php?title=Kategorie%3ASmlouvy_Alb%C3%A1nie&... | diff]] you can see an example.
I tagged with high priority, since this bots work has to be fixed manually (usually in lots of categorized pages) since the sortkeys are important.
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Wesalius Cc: pywikipedia-bugs, Wesalius, Aklapper
Mpaa added subscribers: JAnD, jayvdb. Mpaa merged a task: T76690: category.py move removes sortkey.
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
Mpaa closed this task as a duplicate of T76690: category.py move removes sortkey.
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
Mpaa reopened this task as "Open". Mpaa set Security to None.
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
gerritbot added a subscriber: gerritbot. gerritbot added a comment.
Change 203565 had a related patch set uploaded (by Mpaa): Do not remove sortkey using category.py move
https://gerrit.wikimedia.org/r/203565
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
gerritbot added a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
gerritbot added a comment.
Change 204991 had a related patch set uploaded (by John Vandenberg): Fix replaceCategoryInPlace site
https://gerrit.wikimedia.org/r/204991
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
jayvdb added a comment.
I think `category move -inplace` should be used to keep sortkey , and the default is to not keep the sort key. I've added some basic test cases to confirm that `-inplace` does keep the sortkey (and fixed a bug in the process).
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
Wesalius added a comment.
Thanks for the fix. May I know, why would anyone want to remove sortkeys in categories that were very probably added manually?
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Wesalius Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
jayvdb added a comment.
Im not sure, and we can make changes to behaviour if there isnt any logic reason for the existing logic.
I think some category sortkeys become inappropriate if the category is moved because it changes its scope.
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
gerritbot added a comment.
Change 204991 merged by jenkins-bot: Fix replaceCategoryInPlace site
https://gerrit.wikimedia.org/r/204991
TASK DETAIL https://phabricator.wikimedia.org/T95804
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
gerritbot added a comment.
Change 203565 merged by jenkins-bot: Do not remove sortkey using category.py move
https://gerrit.wikimedia.org/r/203565
TASK DETAIL https://phabricator.wikimedia.org/T95804
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
Mpaa added a subscriber: Mpaa. Mpaa added a comment.
Assumed Resolved now. @Wesalius,let us know if not OK.
TASK DETAIL https://phabricator.wikimedia.org/T95804
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: Mpaa, gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
Mpaa closed this task as "Resolved".
TASK DETAIL https://phabricator.wikimedia.org/T95804
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: Mpaa, gerritbot, jayvdb, JAnD, Wesalius, Aklapper, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org