As @IKhitron helpfully noticed in T377050#10288157, there are some pages the migration script failed to move because the sub-page the script tries to move the Flow board to already exists. [i]
This task involves the work of amending the archival script so that when it encounters the case above, the script moves the Flow board to an alternative page.
Open questions
- 1. When the script is unable to move a Flow board to Namespace:Page Name/Flow, what page should the script fallback to?
- Try appending numbers to the initially-attempted name until we find one that succeeds (or until it fails a few times and we assume there's some other problem). I.e. try /Flow then /Flow2 then /Flow3, etc.
Requirements
Amend the script T371738 introduced such that the following is true:
- When the script attempts to move a Flow board to a page that already exists (e.g. Namespace:Page Name/Flow), have the script try appending numbers to the initially-attempted name until we find one that succeeds (or until it fails a few times and we assume there's some other problem). I.e. try /Flow then /Flow2 then /Flow3, etc.