Page MenuHomePhabricator

script test: python move
Open, HighPublic


"python move -from:x -to:y" is a simple and common operation from the user perspective, performed by the script 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.

Event Timeline

jayvdb created this task.Dec 11 2014, 9:09 AM
jayvdb raised the priority of this task from to High.
jayvdb updated the task description. (Show Details)
jayvdb added projects: Pywikibot, Pywikibot-tests.
jayvdb changed Security from none to None.
jayvdb added subscribers: Unknown Object (MLST), jayvdb, maiden_taiwan.

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>