Fix https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas , https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Arquivo_LQT_1 , https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Arquivo_LQT_1/Arquivo_LQT_1 .
We believe this was caused by the following:
- Script was interrupted (due to using /LQT_Archive_1 in English on a Portuguese wiki; see T117616: Allow config of archive page title formats for LQT conversion using MediaWiki namespace config page).
- Archive page was manually moved.
- Script was re-run, and the page was re-moved and re-imported since it was still considered a LQT-on page.
There is code to detect this resume case, but it only handles cases where the Flow user is the last user to move the archive page.
Basic plan:
- Move https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas -> https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Temporary (or Portuguese equivalent) without leaving a redirect.
- Move https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Arquivo_LQT_1 -> https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas without leaving a redirect.
- Move https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Arquivo_LQT_1/Arquivo_LQT_1 -> https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Arquivo_LQT_1 without leaving a redirect.
(above ensures anyone using the page in the next hours uses the one we're planning to keep).
- Revert changes to the posts that redirect to these topics (e.g. https://pt.wikibooks.org/w/index.php?title=T%C3%B3pico:Wikilivros:Pergunte_ao_bibliotec%C3%A1rio/Estrutura_de_um_livro_sobre_idiomas&redirect=no ).
- Remove {{#useliquidthreads:0}} from https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Arquivo_LQT_1.
- Force-resume using script like P944.
- Put back {{#useliquidthreads:0}}.
- Delete duplicate topics (they should be easily identifiable since they'll be redirects (which appear as blank posts)).
- Delete https://pt.wikibooks.org/wiki/Wikilivros:Plant%C3%A3o_de_d%C3%BAvidas/Temporary after confirming everything re-imported correctly to the real page .