The previous tasks T397420 and T397422 entailed building a "proposal" file of proposed bulk changes to the wiki:
- Repair historic redirects to Flow boards for threads where there is an appropriate flow board
- Re-enable LQT on pages which have associated threads so that they are no longer "lost"
Build a tool to execute these changes.
- Ensure user credentials are in the environment, not the codebase
- Be idempotent: do not modify a page whose contents are already as expected
- Be safe: do not modify a page whose latest revision is not the expected one
- Log pages whose latest revision was not as expected
- Ensure flood right is active to avoid spamming Special:RecentChanges
- Ask @Trizek-WMF to inform community
- Regain flood and global-flow-create permissions
- Global permissions – member of Global flow creators until 2025-09-23
- ptwikibooks permissions – member of pseudobots until 2025-09-23
- Ensure until community has been informed (see T388099: Inform ptwikibooks of LQT and Flow removal plan and timing)
- Await Tuesday, September 9th
- Check parent ticket
- Execute:
- Fix redirects
- Enable LQT on boards where it was auto-disabled
Script: https://gitlab.wikimedia.org/zoe/lqt-porting-tools/-/blob/main/implement_fixes.py?ref_type=heads
proposed-redirects.json.bz2: F62401174
proposed-lqt-repairs.json.bz2: F65817560
$ sha256sum output/proposed-* e3ec71e993c01828b458c08a67ab3ce2622a89da1ede85f95520a0b9df630668 output/proposed-lqt-repairs.json.bz2 2d558606eed52aba9f52c5f0733bba3470125dc2e3619ce85cbcf2234df630c7 output/proposed-redirects.json.bz2