Wikipedia:Bots/Requests for approval/CitationCleanerBot 6

CitationCleanerBot 6

[[User:CitationCleanerBot|CitationCleanerBot 6]]

{{Newbot|CitationCleanerBot|6}}

Operator: {{botop|Headbomb}}

Time filed: 16:26, Friday, May 30, 2025 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AWB

Source code available:

The general logic is

  1. When you find 10.(free registrant) [list at Module:Citation/CS1/Configuration, search for "B U I L D _ K N O W N _ F R E E _ D O I _ R E G I S T R A N T S _ T A B L E"]
  2. add |doi-access=free to {{tl|doi}}

The bot will, in automated mode, skip pages with {{tl|free access}}/{{tl|open access}}, and be restricted to Main/Draft spaces. In supervised/manual mode, I'll make sure we don't end up with a double marker, like {{doi|10.1186/1471-2148-11-118|doi-access=free}} {{open access}}, and could edit in other spaces, like project pages, but not talk pages or user comments.

Function overview: To mark known free identifiers as free, e.g. [https://en.wikipedia.org/w/index.php?title=Trimeresurus&diff=prev&oldid=1293088343]

Links to relevant discussions (where appropriate):

Edit period(s): Daily-ish.

Estimated number of pages affected: ~2000

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): Yes

Function details: For now I'll focus on DOIs, since these are tracked by :Category:Unflagged free DOI. If other identifiers can be tackled, I'll make another BRFA, or re-open this one.

=Discussion=

Any issue with this task? This is well-tested on my regular account. Headbomb {t · c · p · b} 12:58, 6 June 2025 (UTC)

:{{BotTrial|edits=50}} Primefac (talk) 13:33, 8 June 2025 (UTC)

:{{Ping|Primefac}} {{Bot trial complete}} Check the last 50 edits [https://en.wikipedia.org/wiki/Special:Contributions/CitationCleanerBot] (all recent articles starting with B). No issue to report. Headbomb {t · c · p · b} 13:41, 8 June 2025 (UTC)

::{{BotApproved}} Primefac (talk) 13:52, 8 June 2025 (UTC)

: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.