:Wikipedia:Bots/Requests for approval/TolBot 13
[[User:TolBot|TolBot 13]]
{{Newbot|TolBot|13}}
Operator: {{botop|Tol}}
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#Districts (permalink)).
- It would get the pages from the wikitext using this regex:
- :
^\* \[\[(.*?)\]\] to \[\[(.*?)\]\]$
- 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.
= 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)
- : {{User:Tol/R|dn}} ({{link list|parent=Special:Diff|1064932557|1064932559|1064932563|1064932565|1064932569}}). Tol (talk | 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 | 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 | contribs) @ 20:39, 15 January 2022 (UTC)
- {{BotTrial|edits=50}} 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! {{Bot trial complete}} Pages moved: {{holist|class=inline|Bang Sai district (1404)|Long district, Thailand|Steung Trang district|Prek Pnov district|Phong Điền district, Thừa Thiên Huế|Mueang Suphan Buri district|Mueang Nong Bua Lam Phu district|Mueang Chai Nat district|Mongkol Borey district|Saravane district|Thaphalanxay district|Xonboury district|Assaphone district|Viraboury district|Xayboury district|Khanthaboury district|Champhone district|Thapangthong district|Nong district|Seponh district|Phine district|Atsaphangthong district|Outhoumphone district|Kounkham district|Xaibouathong district|Sebangphay district|Nakai district|Boualapha district|Yommalath district|Hineboune district|Nong Bok district|Mahaxay district|Thakhek district|Xaichamphon district|Khamkeut district|Borikhane district|Pakkading district|Thaphabat district|Meun district|Hinhurp district|Viengkham district, Vientiane|Mad district|Xanakharm district|Feuang district|Vangvieng district|Kasy district|Keo Oudom district|Thoulakhom district|Phonhong district|Phaxay district}}. I just realised that the bot group includes
suppressredirect
, so page mover permissions aren't needed. Tol (talk | 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 #Thai subdistricts to avoid breaking syntax. Tol (talk | 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 | contribs) @ 18:24, 21 January 2022 (UTC)
- {{ping | ProcrastinatingReader}} 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 ([https://en.wikipedia.org/wiki/Special:PermanentLink/1064932559#Districts 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)
- {{BotApproved}} ProcrastinatingReader (talk) 15:13, 23 January 2022 (UTC)
= Thai subdistricts =
{{collapse|1=
Subdistricts to move:
- Ahi Subdistrict to Ahi subdistrict
- Akat Subdistrict to Akat subdistrict
- Aranyik Subdistrict to Aranyik subdistrict
- Arun Amarin Subdistrict to Arun Amarin subdistrict
- Ban Hong Subdistrict to Ban Hong subdistrict
- Ban Khok Subdistrict to Ban Khok subdistrict
- Ban Thi Subdistrict to Ban Thi subdistrict
- Bang Bua Thong Subdistrict to Bang Bua Thong subdistrict
- Bang Kaeo Subdistrict, Samut Prakan to Bang Kaeo subdistrict, Samut Prakan
- Bang Kapi Subdistrict to Bang Kapi subdistrict
- Bang Khae Subdistrict, Bangkok to Bang Khae subdistrict, Bangkok
- Bang Khen Subdistrict to Bang Khen subdistrict
- Bang Kho Laem Subdistrict to Bang Kho Laem subdistrict
- Bang Khun Non Subdistrict to Bang Khun Non subdistrict
- Bang Khun Si Subdistrict to Bang Khun Si subdistrict
- Bang Khun Thian Subdistrict to Bang Khun Thian subdistrict
- Bang Krathum Subdistrict to Bang Krathum subdistrict
- Bang Kruai Subdistrict to Bang Kruai subdistrict
- Bang Len Subdistrict, Nonthaburi to Bang Len subdistrict, Nonthaburi
- Bang Phlat Subdistrict to Bang Phlat subdistrict
- Bang Phrom Subdistrict, Bangkok to Bang Phrom subdistrict, Bangkok
- Bang Pla Subdistrict, Samut Prakan to Bang Pla subdistrict, Samut Prakan
- Bang Rachan Subdistrict to Bang Rachan subdistrict
- Bang Rak Subdistrict to Bang Rak subdistrict
- Bang Rakam Subdistrict to Bang Rakam subdistrict
- Bang Sue Subdistrict to Bang Sue subdistrict
- Bang Yai Subdistrict, Nonthaburi to Bang Yai subdistrict, Nonthaburi
- Bowon Niwet Subdistrict to Bowon Niwet subdistrict
- Bueng Kan Subdistrict to Bueng Kan subdistrict
- Bueng Khong Long Subdistrict to Bueng Khong Long subdistrict
- Bung Khla Subdistrict to Bung Khla subdistrict
- Chana Songkhram Subdistrict to Chana Songkhram subdistrict
- Chat Trakan Subdistrict to Chat Trakan subdistrict
- Chiang Dao Subdistrict to Chiang Dao subdistrict
- Chom Thong Subdistrict, Bangkok to Chom Thong subdistrict, Bangkok
- Doi Lan Subdistrict to Doi Lan subdistrict
- Doi Tao Subdistrict to Doi Tao subdistrict
- Don Mueang Subdistrict, Bangkok to Don Mueang subdistrict, Bangkok
- Dusit Subdistrict, Bangkok to Dusit subdistrict, Bangkok
- Dusit Subdistrict, Nakhon Si Thammarat to Dusit subdistrict, Nakhon Si Thammarat
- Fak Tha Subdistrict to Fak Tha subdistrict
- Hot Subdistrict to Hot subdistrict
- Khan Na Yao Subdistrict to Khan Na Yao subdistrict
- Khlong Chak Phra Subdistrict to Khlong Chak Phra subdistrict
- Khlong Khoi Subdistrict, Nonthaburi to Khlong Khoi subdistrict, Nonthaburi
- Khlong Khwang Subdistrict, Bangkok to Khlong Khwang subdistrict, Bangkok
- Khlong Khwang Subdistrict, Nonthaburi to Khlong Khwang subdistrict, Nonthaburi
- Khlong Kluea Subdistrict to Khlong Kluea subdistrict
- Khlong Kum Subdistrict to Khlong Kum subdistrict
- Khlong Maha Nak Subdistrict to Khlong Maha Nak subdistrict
- Khlong Phra Udom Subdistrict, Nonthaburi to Khlong Phra Udom subdistrict, Nonthaburi
- Khlong Sam Prawet Subdistrict to Khlong Sam Prawet subdistrict
- Khlong San Subdistrict to Khlong San subdistrict
- Khlong Sip Song Subdistrict to Khlong Sip Song subdistrict
- Khlong Sip Subdistrict to Khlong Sip subdistrict
- Khlong Song Ton Nun Subdistrict to Khlong Song Ton Nun subdistrict
- Khlong Tamru Subdistrict to Khlong Tamru subdistrict
- Khlong Thanon Subdistrict to Khlong Thanon subdistrict
- Khum Thong Subdistrict to Khum Thong subdistrict
- Khun Yuam Subdistrict to Khun Yuam subdistrict
- Ko Kha Subdistrict to Ko Kha subdistrict
- Lam Pla Thio Subdistrict to Lam Pla Thio subdistrict
- Lat Krabang Subdistrict to Lat Krabang subdistrict
- Lat Yao Subdistrict, Bangkok to Lat Yao subdistrict, Bangkok
- Li Subdistrict to Li subdistrict
- Mae Ai Subdistrict to Mae Ai subdistrict
- Mae Chan Subdistrict to Mae Chan subdistrict
- Mae Fa Luang Subdistrict to Mae Fa Luang subdistrict
- Mae Kha Subdistrict (50091000)
- Mae La Noi Subdistrict to Mae La Noi subdistrict
- Mae Mo Subdistrict to Mae Mo subdistrict
- Mae Sai Subdistrict to Mae Sai subdistrict
- Mae Sariang Subdistrict to Mae Sariang subdistrict
- Mae Suai Subdistrict to Mae Suai subdistrict
- Mae Taeng Subdistrict to Mae Taeng subdistrict
- Makok Subdistrict to Makok subdistrict
- Matong Subdistrict to Matong subdistrict
- Mengrai Subdistrict to Mengrai subdistrict
- Nakhon Thai Subdistrict to Nakhon Thai subdistrict
- Noen Maprang Subdistrict to Noen Maprang subdistrict
- Nong Chok Subdistrict, Bangkok to Nong Chok subdistrict, Bangkok
- Nong Mamong Subdistrict to Nong Mamong subdistrict
- Omkoi Subdistrict to Omkoi subdistrict
- On Nut Subdistrict to On Nut subdistrict
- Pa Daet Subdistrict to Pa Daet subdistrict
- Pa Sang Subdistrict, Lamphun to Pa Sang subdistrict, Lamphun
- Pa Tan Subdistrict, Chiang Mai to Pa Tan subdistrict, Chiang Mai
- Pak Khat Subdistrict to Pak Khat subdistrict
- Pak Kret Subdistrict to Pak Kret subdistrict
- Pang Mapha Subdistrict to Pang Mapha subdistrict
- Phatthanakan Subdistrict to Phatthanakan subdistrict
- Phra Borom Maha Ratchawang Subdistrict to Phra Borom Maha Ratchawang subdistrict
- Phrom Phiram Subdistrict to Phrom Phiram subdistrict
- Prawet Subdistrict to Prawet subdistrict
- Ram Inthra Subdistrict to Ram Inthra subdistrict
- Rat Burana Subdistrict to Rat Burana subdistrict
- Saen Saep Subdistrict to Saen Saep subdistrict
- Sai Mai Subdistrict to Sai Mai subdistrict
- Sai Noi Subdistrict, Nonthaburi to Sai Noi subdistrict, Nonthaburi
- Saluang Subdistrict to Saluang subdistrict
- Sam Chuk Subdistrict to Sam Chuk subdistrict
- Samphanthawong Subdistrict to Samphanthawong subdistrict
- San Chaopho Suea Subdistrict to San Chaopho Suea subdistrict
- San Kamphaeng Subdistrict to San Kamphaeng subdistrict
- Sao Chingcha Subdistrict to Sao Chingcha subdistrict
- Saphan Sung Subdistrict to Saphan Sung subdistrict
- Saraphi Subdistrict to Saraphi subdistrict
- Seka Subdistrict to Seka subdistrict
- Si Subdistrict to Si subdistrict
- Si Wilai Subdistrict to Si Wilai subdistrict
- Siri Rat Subdistrict to Siri Rat subdistrict
- Somdet Chao Phraya Subdistrict to Somdet Chao Phraya subdistrict
- Sop Moei Subdistrict to Sop Moei subdistrict
- Suan Chitlada Subdistrict to Suan Chitlada subdistrict
- Suan Luang Subdistrict, Bangkok to Suan Luang subdistrict, Bangkok
- Ta Subdistrict to Ta subdistrict
- Taling Chan Subdistrict, Bangkok to Taling Chan subdistrict, Bangkok
- Tha Mai Subdistrict, Chanthaburi to Tha Mai subdistrict, Chanthaburi
- Tha Pla Subdistrict to Tha Pla subdistrict
- Tha Sawang Subdistrict to Tha Sawang subdistrict
- Tham Phannara Subdistrict to Tham Phannara subdistrict
- Than To Subdistrict to Than To subdistrict
- Thanon Nakhon Chai Si Subdistrict to Thanon Nakhon Chai Si subdistrict
- Thap Thiang Subdistrict to Thap Thiang subdistrict
- Thap Yao Subdistrict to Thap Yao subdistrict
- Thawi Watthana Subdistrict, Bangkok to Thawi Watthana subdistrict, Bangkok
- Thawi Watthana Subdistrict, Nonthaburi to Thawi Watthana subdistrict, Nonthaburi
- Thung Hua Chang Subdistrict to Thung Hua Chang subdistrict
- Thung Khru Subdistrict to Thung Khru subdistrict
- Wachiraphayaban Subdistrict to Wachiraphayaban subdistrict
- Wang Burapha Phirom Subdistrict to Wang Burapha Phirom subdistrict
- Wang Nuea Subdistrict to Wang Nuea subdistrict
- Wang Thong Subdistrict to Wang Thong subdistrict
- Wang Thonglang Subdistrict to Wang Thonglang subdistrict
- Wat Arun Subdistrict to Wat Arun subdistrict
- Wat Bot Subdistrict, Phitsanulok to Wat Bot subdistrict, Phitsanulok
- Wat Chalo Subdistrict to Wat Chalo subdistrict
- Wat Kanlaya Subdistrict to Wat Kanlaya subdistrict
- Wat Phraya Krai Subdistrict to Wat Phraya Krai subdistrict
- Wat Sommanat Subdistrict to Wat Sommanat subdistrict
- Wat Tha Phra Subdistrict to Wat Tha Phra subdistrict
- Wat Thep Sirin Subdistrict to Wat Thep Sirin subdistrict
- Wiang Chai Subdistrict to Wiang Chai subdistrict
- Wiang Nuea Subdistrict, Lampang to Wiang Nuea subdistrict, Lampang
- Wiang Subdistrict, Chiang Saen to Wiang subdistrict, Chiang Saen
- Wiang Subdistrict, Fang to Wiang subdistrict, Fang
- Wiang Subdistrict, Mueang Chiang Rai to Wiang subdistrict, Mueang Chiang Rai
- Wiang Subdistrict, Mueang Phayao to Wiang subdistrict, Mueang Phayao
- Wiang Subdistrict, Phrao to Wiang subdistrict, Phrao
- Yan Nawa Subdistrict to Yan Nawa subdistrict
- Yonok Subdistrict to Yonok subdistrict
- Yupo Subdistrict to Yupo subdistrict
}}
(Moved from above to avoid breaking syntax. Tol (talk | 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 Wikipedia:Bots/Noticeboard.