New to bots on Wikipedia? Read these primers!
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".
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]
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]
Approved. ProcrastinatingReader (talk) 00:38, 6 January 2021 (UTC)[reply]