jayvdb created this task. jayvdb added subscribers: pywikipedia-bugs, jayvdb, maiden_taiwan. jayvdb added projects: pywikibot-core, Pywikibot-tests. jayvdb changed Security from none to none.
TASK DESCRIPTION "python category.py move -from:x -to:y" is a simple and common operation from the user perspective, performed by the script category.py. Under the covers, quite a bit of integration occurs in order to make this seemingly simple operation work correctly.
As it has been broken a few times in the past, it would be good to build a test case which preps the test wiki, runs the script to perform the move, and then check the script performed the task correctly.
TASK DETAIL https://phabricator.wikimedia.org/T78258
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: Aklapper, jayvdb, maiden_taiwan, pywikipedia-bugs
maiden_taiwan added a comment.
In particular, test what happens when the category tag is inside <noinclude>, <includeonly>, and <onlyinclude> tags. In some versions of Piwikibot, the tag gets pulled outside, e.g.,
<noinclude>[[Category:Old]] foo bar</noinclude>
gets turned into:
<noinclude>foo bar</noinclude> [[Category:New]]
TASK DETAIL https://phabricator.wikimedia.org/T78258
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: maiden_taiwan Cc: Aklapper, jayvdb, maiden_taiwan, pywikipedia-bugs
jayvdb moved this task to New tests needed on the Pywikibot-tests workboard.
TASK DETAIL https://phabricator.wikimedia.org/T78258
WORKBOARD https://phabricator.wikimedia.org/project/board/107/
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: Aklapper, jayvdb, maiden_taiwan, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org