Wikipedia:Bots/Requests for approval/Aidan9382-Bot 3


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

Aidan9382-Bot 3
Operator:

Time filed: 22:02, Monday, September 4, 2023 (UTC)

Function overview: Automatically move subpages left behind (orphaned) after moves of a parent page

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: The exact task script is not yet made, but will be derived off of this existing task - Task now exists on GitHub

Links to relevant discussions (where appropriate):

Edit period(s): Twice per day or so

Estimated number of pages affected: 0-4 pages a day

Namespace(s): Just Talk:

Exclusion compliant (Yes/No): Yes, including on subpages intended to be moved (none will be moved if any have exclusion)

Function details: The bot would watch Special:Log/move for page moves, and if it finds a page move which has lead to the orphaning of subpages, it'll keep watch on it. After some amount of time to avoid participating in a move war/revert (7 days or so), if the subpages are still orphaned, and if it's sure all the subpages can be moved without issue, and assuming there's nothing else that's happened which could make it non-trivial, the bot would automatically move the subpages to under the new title, as well as adjusting any archiving related templates on the parent page.

This task is kind of like an expanded scope of my currently approved task, which does basically the same thing, but only for pages using. I've been running a userspace report to track moves which caused orphaned subpages here, which gives an idea about how often this happens. Aidan9382 (talk) 22:02, 4 September 2023 (UTC)

Discussion
Primefac (talk) 10:21, 12 September 2023 (UTC)


 * Quick question: Should I count each page fixed as an "edit" or count each subpage move as 1 edit and the base page edit to fix template as 1 edit? (I assume the latter). I intend to run it on the already existing list of pages, so I fully expect to hit the edit count before the day count (once the script is made). Aidan9382 (talk) 11:05, 12 September 2023 (UTC)
 * Each move. Primefac (talk) 11:20, 12 September 2023 (UTC)

Some testing edits and the 50 trial edits. Spot-checked some of the moves and all of the template changing edits and found no bugs. I purposefully made the bot make 49 edits during fixing to have the final edit be it updating the report, which is why many pages are left untouched. Aidan9382 (talk) 19:55, 3 October 2023 (UTC)
 * Primefac (talk) 09:24, 24 October 2023 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard.