New to bots on Wikipedia? Read these primers!
Operator: Sdkb ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:14, Monday, May 17, 2021 ( UTC)
Function overview: Removes inappropriate spaces between quotes ending sentences and references, in accordance with WP:REFPUNCT.
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: I'm not sure how to share source code on AWB, but the process is to compile a list using the wiki search text insource:/\.\" \<ref/
and insource:/\"\. \<ref/
and then use the find and replace option to replace ". <ref
with ".<ref
and ." <ref
with ."<ref
.
Links to relevant discussions (where appropriate): Consensus is presumed because of the presence of the WP:REFPUNCT section of the Manual of Style, a Wikipedia guideline. The task does not fall under WP:COSMETICBOT because the erroneous spaces are visible to readers.
Edit period(s): daily
Estimated number of pages affected: Based on the AWB work I've been doing on this task so far, I estimate the initial backlog is somewhere very roughly on the order of 10,000. For after that, the rate at which the spacing errors accrue is unknown, so I'm not sure.
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: This bot seeks out articles with instances where a space has been erroneously inserted between a quote at the end of a sentence and a footnoted reference. It removes the space to bring the article into compliance with
WP:REFPUNCT. The edit summary will be removed
erroneous space
, marked as minor and tagged with the AWB tag.
This is my first bot proposal; I looked through the guidance, but this is a complex area, so please help me out if I've done anything incorrectly above. I'm bringing this here because I've done several thousand edits with this task on AWB and have not yet run into any instance where I've needed to skip, so I think it would be pretty safe to automate. Some other considerations:
". <ref
would appear and we wouldn't want to correct it, but if this goes smoothly, I may wish to expand the operation to try to handle instances of this error more comprehensively.Cheers, {{u| Sdkb}} talk 20:14, 17 May 2021 (UTC) reply
According to citenote 22 on WP:REFPUNCT there can be cases where a space is acceptable, though I appreciate this would be the minority. Is the bot able to deal with those? ProcrastinatingReader ( talk) 12:00, 18 May 2021 (UTC) reply
Regarding edit frequency: I see no issue with running daily. The guidance in
WP:BOTPOL is bots doing non-urgent tasks may edit approximately once every ten seconds
; since the backlog you estimate is on the order of 10,000 pages, that's about a day to clear the current backlog, and I assume errors do not accrue often enough for this frequency to be a problem past that. —
The Earwig (
talk) 00:19, 19 May 2021 (UTC)
reply
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Let's give it a trial. After trial, please also advertise the BRFA to
Wikipedia talk:Manual of Style (as the talk page for
WP:REFPUNCT) so we can have some people familiar with the guideline also review the BRFA and trial contribs.
ProcrastinatingReader (
talk) 11:52, 20 May 2021 (UTC)
reply
".
and 25 from the list with ."
. {{u|
Sdkb}}
talk 01:22, 21 May 2021 (UTC)
reply]] <ref
to ]]<ref
, per
this WP:BOTN discussion. {{u|
Sdkb}}
talk 07:42, 20 June 2021 (UTC)
replyNew to bots on Wikipedia? Read these primers!
Operator: Sdkb ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:14, Monday, May 17, 2021 ( UTC)
Function overview: Removes inappropriate spaces between quotes ending sentences and references, in accordance with WP:REFPUNCT.
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: I'm not sure how to share source code on AWB, but the process is to compile a list using the wiki search text insource:/\.\" \<ref/
and insource:/\"\. \<ref/
and then use the find and replace option to replace ". <ref
with ".<ref
and ." <ref
with ."<ref
.
Links to relevant discussions (where appropriate): Consensus is presumed because of the presence of the WP:REFPUNCT section of the Manual of Style, a Wikipedia guideline. The task does not fall under WP:COSMETICBOT because the erroneous spaces are visible to readers.
Edit period(s): daily
Estimated number of pages affected: Based on the AWB work I've been doing on this task so far, I estimate the initial backlog is somewhere very roughly on the order of 10,000. For after that, the rate at which the spacing errors accrue is unknown, so I'm not sure.
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: This bot seeks out articles with instances where a space has been erroneously inserted between a quote at the end of a sentence and a footnoted reference. It removes the space to bring the article into compliance with
WP:REFPUNCT. The edit summary will be removed
erroneous space
, marked as minor and tagged with the AWB tag.
This is my first bot proposal; I looked through the guidance, but this is a complex area, so please help me out if I've done anything incorrectly above. I'm bringing this here because I've done several thousand edits with this task on AWB and have not yet run into any instance where I've needed to skip, so I think it would be pretty safe to automate. Some other considerations:
". <ref
would appear and we wouldn't want to correct it, but if this goes smoothly, I may wish to expand the operation to try to handle instances of this error more comprehensively.Cheers, {{u| Sdkb}} talk 20:14, 17 May 2021 (UTC) reply
According to citenote 22 on WP:REFPUNCT there can be cases where a space is acceptable, though I appreciate this would be the minority. Is the bot able to deal with those? ProcrastinatingReader ( talk) 12:00, 18 May 2021 (UTC) reply
Regarding edit frequency: I see no issue with running daily. The guidance in
WP:BOTPOL is bots doing non-urgent tasks may edit approximately once every ten seconds
; since the backlog you estimate is on the order of 10,000 pages, that's about a day to clear the current backlog, and I assume errors do not accrue often enough for this frequency to be a problem past that. —
The Earwig (
talk) 00:19, 19 May 2021 (UTC)
reply
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Let's give it a trial. After trial, please also advertise the BRFA to
Wikipedia talk:Manual of Style (as the talk page for
WP:REFPUNCT) so we can have some people familiar with the guideline also review the BRFA and trial contribs.
ProcrastinatingReader (
talk) 11:52, 20 May 2021 (UTC)
reply
".
and 25 from the list with ."
. {{u|
Sdkb}}
talk 01:22, 21 May 2021 (UTC)
reply]] <ref
to ]]<ref
, per
this WP:BOTN discussion. {{u|
Sdkb}}
talk 07:42, 20 June 2021 (UTC)
reply