Wikipedia:Bots/Requests for approval/BattyBot 54
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: GoingBatty (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:10, Monday, December 28, 2020 (UTC)
Function overview: From @Chris the speller::
There are about a thousand articles that contain the parameter
Ship sail plan = Full rigged ship
but should be
Ship sail plan = Full-rigged ship
according to well-known dictionaries and common understanding of compound modifiers. About a hundred or so are unlinked, and it wouldn't hurt to link them while we're at it. There may or may not be spaces on either side of the equals sign.
Automatic, Supervised, or Manual: Automatic
Programming language(s): AWB
Source code available: AWB
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 81#Full rigged ship
Edit period(s): One time run
Estimated number of pages affected: About 900
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: Will make changes using the following "find and replace" regular expression rules:
(\|\s*Ship sail plan\s*\=\s*)\[\[Full rigged ship\]\]
→$1[[Full-rigged ship]]
(\|\s*Ship sail plan\s*\=\s*)\[\[Full rigged ship\s*\|\s*Full rigged\]\]
→$1[[Full-rigged ship|Full-rigged]]
(\|\s*Ship sail plan\s*\=\s*)Full rigged ship
→$1[[Full-rigged ship]]
The bot will not make changes that are not visible to the reader (e.g. will not change [[Full rigged ship|full-rigged]]
).
The bot will also run AWB's general fixes if it is also making a change to "Full rigged".
Discussion
[edit]Can you advertise this request to relevant content pages? eg possibly Wikipedia:WikiProject Ships may be relevant. ProcrastinatingReader (talk) 23:57, 28 December 2020 (UTC)[reply]
- @ProcrastinatingReader: Done - see Wikipedia talk:WikiProject Ships#Notification of bot request. GoingBatty (talk) 00:55, 29 December 2020 (UTC)[reply]
Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Thanks GoingBatty. I’ll give this a bit longer for comments due to the holiday season, but I don’t think this is an overly broad issue so happy to see this go for a technical trial in the meantime. 30 edits - 10 of each regex please. ProcrastinatingReader (talk) 02:58, 1 January 2021 (UTC)[reply]
- Trial complete. @ProcrastinatingReader: The bot only made 23 edits, as there were only 3 edits of the second regex listed above. Thank you for your consideration. GoingBatty (talk) 01:20, 2 January 2021 (UTC)[reply]
Approved. ProcrastinatingReader (talk) 00:38, 6 January 2021 (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 Wikipedia:Bots/Noticeboard.