Wikipedia:Bots/Requests for approval/TheSandBot 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 WT:BRFA. The result of the discussion was Approved.
Operator: TheSandDoctor (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 03:02, Friday, May 17, 2019 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: [1]
Function overview: Extremely similar to Wikipedia:Bots/Requests for approval/TheSandBot.
Links to relevant discussions (where appropriate): Special:Diff/897445174#RFC:_What_disambiguation_should_shows_from_the_United_States_and_United_Kingdom_use?
Edit period(s): one time run
Estimated number of pages affected: Approximately 1,447 articles (and talk pages should they exist)
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Reads pages from User:Alex 21/sandbox2, the bot then pulls up the individual page objects, double checks that they are not themselves redirects (ie that they haven't been moved) and exist. If both conditions are satisfied, the bot moves the page (leaving behind a redirect) to the corresponding title after the '->'. The bot is not exclusion compliant as that is non-applicable given the context.
Discussion
edit- Can you use Special:PermaLink/897435796 as the source, in case that sandbox gets updated in the interim? — xaosflux Talk 03:23, 17 May 2019 (UTC)[reply]
- Perm link updated, Xaosflux --TheSandDoctor Talk 05:02, 17 May 2019 (UTC)[reply]
- Can the bot move over a redirect? For example, when moving to 1 vs. 100 (U.S. game show) to 1 vs. 100 (American game show), the latter already exists as a redirect to the former. If so, awesome, less work. If not, I count 89 articles where the redirect already exists and could be moved manually through a round-robin move (I can volunteer for this). -- /Alex/21 03:54, 17 May 2019 (UTC)[reply]
- @Alex 21: I can help --DannyS712 (talk) 04:18, 17 May 2019 (UTC)[reply]
- TSB cannot move over a redirect, Alex 21/DannyS712. --TheSandDoctor Talk 05:02, 17 May 2019 (UTC)[reply]
- @TheSandDoctor: I only counted 85 redirects: User:DannyS712/sandbox4. Are you saying we should move them? --DannyS712 (talk) 05:14, 17 May 2019 (UTC)[reply]
- TheSandDoctor, thanks for the update. I have updated the list to remove all articles where the redirect already exists, so the "move to" list is solely redlinks; see Special:PermaLink/897458437. DannyS712, probably best to move them once the bot is complete, as cleanup. 85 articles is correct. -- /Alex/21 05:18, 17 May 2019 (UTC)[reply]
- Sounds good, though the bot would have ignored any redirects. This is because its first check is if the target specified within the sandbox exists. If it does, it is logged and the bot moves on to the next listing. --TheSandDoctor Talk 05:30, 17 May 2019 (UTC)[reply]
- Any updates on this? --Gonnym (talk) 23:48, 22 May 2019 (UTC)[reply]
- Not at this time Gonnym. @Xaosflux: do you think that we are good to move to a trial? --TheSandDoctor Talk 13:24, 23 May 2019 (UTC)[reply]
- Any updates on this? --Gonnym (talk) 23:48, 22 May 2019 (UTC)[reply]
- Sounds good, though the bot would have ignored any redirects. This is because its first check is if the target specified within the sandbox exists. If it does, it is logged and the bot moves on to the next listing. --TheSandDoctor Talk 05:30, 17 May 2019 (UTC)[reply]
- TheSandDoctor, thanks for the update. I have updated the list to remove all articles where the redirect already exists, so the "move to" list is solely redlinks; see Special:PermaLink/897458437. DannyS712, probably best to move them once the bot is complete, as cleanup. 85 articles is correct. -- /Alex/21 05:18, 17 May 2019 (UTC)[reply]
- @TheSandDoctor: I only counted 85 redirects: User:DannyS712/sandbox4. Are you saying we should move them? --DannyS712 (talk) 05:14, 17 May 2019 (UTC)[reply]
- TSB cannot move over a redirect, Alex 21/DannyS712. --TheSandDoctor Talk 05:02, 17 May 2019 (UTC)[reply]
- @Alex 21: I can help --DannyS712 (talk) 04:18, 17 May 2019 (UTC)[reply]
- Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — xaosflux Talk 13:35, 23 May 2019 (UTC)[reply]
- @Xaosflux: 30 total articles moved or limit to 30 total pages (talk and mainspace combined)? Clarifying because talk pages may or may not exist for articles moved and if one existed, moving it would account for 2 edits. Sorry for the delay in my response, I just got home). --TheSandDoctor Talk 00:48, 24 May 2019 (UTC)[reply]
- @TheSandDoctor: you can include any associated pages "for free" along with the 30 (talk, talk subpages, etc). — xaosflux Talk 01:09, 24 May 2019 (UTC)[reply]
- Thanks for clarification Xaosflux. Trial complete.. [2] --TheSandDoctor Talk 04:54, 24 May 2019 (UTC)[reply]
- @TheSandDoctor: you can include any associated pages "for free" along with the 30 (talk, talk subpages, etc). — xaosflux Talk 01:09, 24 May 2019 (UTC)[reply]
- @Xaosflux: 30 total articles moved or limit to 30 total pages (talk and mainspace combined)? Clarifying because talk pages may or may not exist for articles moved and if one existed, moving it would account for 2 edits. Sorry for the delay in my response, I just got home). --TheSandDoctor Talk 00:48, 24 May 2019 (UTC)[reply]
- On hold 5 day hold, to give anyone with issue time to comment. Message left at Wikipedia_talk:Naming_conventions_(television)#Initial_bot_run_completed. If no issues are presented in 5 days, this seems good to go to me. — xaosflux Talk 19:08, 27 May 2019 (UTC)[reply]
- @Xaosflux, TheSandDoctor, Gonnym, and Alex 21: Just noticed this - the page also lists lots of categories - don't those need to go through CfD? --DannyS712 (talk) 08:32, 31 May 2019 (UTC)[reply]
- To me, personally, this would be a bit bureaucratic as a RfC about all types of names was just held, so having CfDs (and RMs) seems a bit pointless. Also, pretty sure WP:C2D covers this. --Gonnym (talk) 08:37, 31 May 2019 (UTC)[reply]
- @Gonnym: Either way, the category moves should be handled separately, since the pages would all need to be recategorized too / templates updated. DannyS712 (talk) 08:56, 31 May 2019 (UTC)[reply]
- To me, personally, this would be a bit bureaucratic as a RfC about all types of names was just held, so having CfDs (and RMs) seems a bit pointless. Also, pretty sure WP:C2D covers this. --Gonnym (talk) 08:37, 31 May 2019 (UTC)[reply]
- @Xaosflux, TheSandDoctor, Gonnym, and Alex 21: Just noticed this - the page also lists lots of categories - don't those need to go through CfD? --DannyS712 (talk) 08:32, 31 May 2019 (UTC)[reply]
- {{OperatorAssistanceNeeded}} did you plan on doing anything with those categories? — xaosflux Talk 11:37, 31 May 2019 (UTC)[reply]
- If the categories are moved with the bot, I can update the categories in the relevant articles with AWB. -- /Alex/21 11:46, 31 May 2019 (UTC)[reply]
- @Xaosflux, Gonnym, and DannyS712: Moving the pages from one category to another was not a plan for this RfC. It could conceivably be the subject of another bot request or done using AWB as Alex 21 has pointed out. If the wish is to not have TSB handle the categories at this time, then moving them from the user page to the talk page of the sandbox (ie so that we don't lose them) would be the best choice. If they remain on the list, then TSB will simply move them on its own when it gets to that point in the list. --TheSandDoctor Talk 12:59, 31 May 2019 (UTC)[reply]
- @TheSandDoctor: weren't you going to use a permalink to a revision of that page? Will you update it to a new revision when this starts (so these can be moved aside first)? — xaosflux Talk 13:24, 31 May 2019 (UTC)[reply]
- @Xaosflux: I template editor protected the sandbox from editing and sysop protected it from being moved 24 May. When the bot was to actually run, I was thinking of just fully protecting the page for the duration of the run (then unprotect). As for a permalink, I am fairly certain that my current code base/API cannot work very well with non-live page versions. If desired, I would copy a revision into a (local) text file and work off of that as a work around. Otherwise, I will need to incorporate Pywikibot into the code base, which I do not think is currently installed on tools server by default. --TheSandDoctor Talk 13:44, 31 May 2019 (UTC)[reply]
- OK, sounds fine. — xaosflux Talk 13:49, 31 May 2019 (UTC)[reply]
- @Xaosflux: I template editor protected the sandbox from editing and sysop protected it from being moved 24 May. When the bot was to actually run, I was thinking of just fully protecting the page for the duration of the run (then unprotect). As for a permalink, I am fairly certain that my current code base/API cannot work very well with non-live page versions. If desired, I would copy a revision into a (local) text file and work off of that as a work around. Otherwise, I will need to incorporate Pywikibot into the code base, which I do not think is currently installed on tools server by default. --TheSandDoctor Talk 13:44, 31 May 2019 (UTC)[reply]
- @TheSandDoctor: weren't you going to use a permalink to a revision of that page? Will you update it to a new revision when this starts (so these can be moved aside first)? — xaosflux Talk 13:24, 31 May 2019 (UTC)[reply]
- @Xaosflux, Gonnym, and DannyS712: Moving the pages from one category to another was not a plan for this RfC. It could conceivably be the subject of another bot request or done using AWB as Alex 21 has pointed out. If the wish is to not have TSB handle the categories at this time, then moving them from the user page to the talk page of the sandbox (ie so that we don't lose them) would be the best choice. If they remain on the list, then TSB will simply move them on its own when it gets to that point in the list. --TheSandDoctor Talk 12:59, 31 May 2019 (UTC)[reply]
- If the categories are moved with the bot, I can update the categories in the relevant articles with AWB. -- /Alex/21 11:46, 31 May 2019 (UTC)[reply]
- I've moved the categories to User_talk:Alex_21/sandbox2#Category_holding_pen, effectively de-scoping them from your task @TheSandDoctor:. @DannyS712: does that resolve your concern? — xaosflux Talk 13:49, 31 May 2019 (UTC)[reply]
- @Xaosflux: Yes --DannyS712 (talk) 17:18, 31 May 2019 (UTC)[reply]
- @Xaosflux: Are we good to go? The above is now addressed and no further comments have been made (nor has the notification received any attention/feedback there, to date). That said, if you feel more time is needed, I am okay with that too. --TheSandDoctor Talk 08:09, 2 June 2019 (UTC)[reply]
- @Xaosflux: Yes --DannyS712 (talk) 17:18, 31 May 2019 (UTC)[reply]
- Approved. — xaosflux Talk 13:24, 2 June 2019 (UTC)[reply]
- 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 WT:BRFA.