Wikipedia:Bots/Requests for approval/SdkbBot 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 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: Sdkb (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:51, Wednesday, February 9, 2022 (UTC)
Function overview: Fixes MOS:CONSECUTIVE errors following wikilinks
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: The bot will be operated by running through lists of pages from the RegEx search query insource:/\.\]\]\./
with a find and replace for .]].
→.]]
, skipping pages with ...]].
. It will use the edit summary Fixed consecutive punctuation error and general fixes (task 3)
.
Links to relevant discussions (where appropriate): MOS:CONSECUTIVE is the relevant guideline.
Edit period(s): Daily
Estimated number of pages affected: 38,000 per this search
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: Per MOS:CONSECUTIVE, Where a word or phrase that includes terminal punctuation ends a sentence, do not add a second terminal punctuation mark.
This bot will fix some violations of this, using the AWB settings detailed above. I did 400 test edits through my non-bot account, which can be reviewed here. The only issue that came up was a revert here from D.Lazard for an instance of a linked term ending in an ellipsis. I'm not sure whether or not I agree that MOS:CONSECUTIVE doesn't apply for ellipses, but as that's not fully resolved I've excluded those pages with the skip function.
Discussion
editApproved for trial (200 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. – SD0001 (talk) 04:05, 10 February 2022 (UTC)[reply]
- Trial complete. Diff of edits. {{u|Sdkb}} talk 05:39, 10 February 2022 (UTC)[reply]
- Approved. No issues. – SD0001 (talk) 15:44, 10 February 2022 (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.