Wikipedia:Bots/Requests for approval/TolBot 13


 * 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

TolBot 13
Operator:

Time filed: 21:25, Monday, January 10, 2022 (UTC)

Function overview: Move Southeast Asia district pages

Automatic, Supervised, or Manual: supervised

Programming language(s): Python

Source code available: simple mass move script

Links to relevant discussions (where appropriate):
 * AWB request (permalink)
 * WikiProject Southeast Asia discussion which led to that request (permalink)
 * List of pages (permalink)
 * Related RM for lowercasing "province" (permalink)

Edit period(s): one-time

Estimated number of pages affected: 1705 (pages to be moved, does not include redirects to be moved over or created)

Namespace(s): (Article)

Exclusion compliant (Yes/No): no

Function details:
 * The bot would be given a list of pages to be moved (at Wikipedia talk:WikiProject Southeast Asia (permalink)).
 * It would get the pages from the wikitext using this regex:
 * It would iterate through the pages to be moved and move the pages.
 * If the new title already exists:
 * If it is a single-revision redirect to the old title, it would move it over the redirect.
 * If it is a multiple-revision redirect to the old title, it would perform a round-robin move.
 * The bot account would need the page mover permission to do this.
 * If it is a redirect to another title or a non-redirect, it would notify me so that I could take care of it manually.
 * If it is a redirect to another title or a non-redirect, it would notify me so that I could take care of it manually.

Discussion

 * I'm aware of the generalised RM consensus, but still please notify Wikipedia talk:WikiProject Southeast Asia of the existence of this BRFA in a new section, as well as the WikiProjects for Thailand, Vietnam, Cambodia and Laos (where they exist). I think it's reasonable to allow a period for objections before proceeding. ProcrastinatingReader (talk) 22:22, 10 January 2022 (UTC)
 * . Tol  (talk &#124; contribs) @ 23:35, 10 January 2022 (UTC)
 * How long do we need to wait? Dicklyon (talk) 21:39, 12 January 2022 (UTC)
 * Are we there yet? Dicklyon (talk) 01:50, 15 January 2022 (UTC)
 * @ProcrastinatingReader: It's been nearly a week with no objections; is that enough? Tol  (talk &#124; contribs) @ 20:42, 15 January 2022 (UTC)
 * Probably no round-robin moves are needed, so this can be done without page-mover rights. If there are exceptions, they can be dealt with by hand; I'll be happy to handle exceptions via WP:RMTR if there are any.  Dicklyon (talk) 18:48, 15 January 2022 (UTC)
 * @Dicklyon, I think there are a few cases in which round-robin moves are needed (mainly multiple-revision redirects). It's not complicated to implement, anyway. Tol  (talk &#124; contribs) @ 20:39, 15 January 2022 (UTC)
 * Trial for 50 moves. ProcrastinatingReader (talk) 16:03, 18 January 2022 (UTC)
 * And I'll be happy to work on cleanup edits for those 50 when they're done. I may create some redlinks in the process, to articles not yet moved. Dicklyon (talk) 03:30, 19 January 2022 (UTC)
 * Thank you, @ProcrastinatingReader! Pages moved: . I just realised that the bot group includes , so page mover permissions aren't needed.  Tol  (talk &#124; contribs) @ 15:53, 19 January 2022 (UTC)
 * Those look right to me. The double redirects have even been fixed already (the few I checked at least). Dicklyon (talk) 23:36, 19 January 2022 (UTC)
 * I went through and did case cleanup edits on those 50. Not a lot to do, but I may have missed something. Dicklyon (talk) 04:33, 21 January 2022 (UTC)
 * Sorry for the late response—I haven't been watching things closely. Dicklyon, it seems you haven't compiled a list for the Thai subdistricts that need to be moved yet? I've identified the following 152 from a quick WP:PetScan query. --Paul_012 (talk) 13:58, 19 January 2022 (UTC) (List of subdistricts moved to to avoid breaking syntax.  Tol  (talk &#124; contribs) @ 20:19, 3 October 2022 (UTC))
 * Thanks! I was not aware of that PetScan tool.  It's just what I need for various things.  I've formatted your list like what TolBot expects, and I think it's good to go, since there a consensus to also do subdistricts (I just hadn't found them, not having looked very hard). Dicklyon (talk) 23:26, 19 January 2022 (UTC)
 * Ah... sorry for not reaching out with the tip sooner. Manually compiling the lists must have been a major effort. (It helped identify that Sattahip wasn't categorised, though.) --Paul_012 (talk) 02:19, 20 January 2022 (UTC)
 * Well, it wasn't exactly manual, but was more roundabout. Dicklyon (talk) 04:58, 20 January 2022 (UTC)
 * Can we also get permission to add the 152 subdistrict article downcases; these were insisted on in the same discussions (and I verified that there are none like this for Vietnam, Laos, or Cambodia). If not, I will just do them by hand. Dicklyon (talk) 17:14, 21 January 2022 (UTC)
 * I'm pretty sure those can be included; they're the same type of edit. Tol  (talk &#124; contribs) @ 18:24, 21 January 2022 (UTC)
 * Are we waiting for you to review the trial of 50? Or for someone else to approve?  Dicklyon (talk) 06:02, 23 January 2022 (UTC)
 * I'm leaning on approval but need to check a few things. I'll try and get around to reviewing this today/tomorrow. ProcrastinatingReader (talk) 08:42, 23 January 2022 (UTC)
 * Closing notes: There is generalised consensus through RM for the moves to Thai districts, and seemingly no objections at the SEA WikiProject or at this BRFA to extend that to the rest of SEA, where a list of affected pages was posted. I see no technical issues of concern in the trial data. The approval is limited to the list posted there (permalink), as well as the 152 listed above -- please post on the talk page of this BRFA if this task needs to be extended to other pages. I note that post-move cleanup edits will be necessary, but I don't think it's a blocker for this BRFA or worth requiring this task to handle those clean-ups, and it seems like Dicklyon (and possibly others) are willing to aid with that. ProcrastinatingReader (talk) 15:13, 23 January 2022 (UTC)
 * ProcrastinatingReader (talk) 15:13, 23 January 2022 (UTC)

Thai subdistricts
(Moved from above to avoid breaking syntax. Tol  (talk &#124; contribs) @ 20:19, 3 October 2022 (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.