Wikipedia:Bots/Requests for approval/Monkbot 20
- 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: Trappist the monk (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 14:41, Monday, October 7, 2024 (UTC)
Function overview: replace transclusions of {{lang-??}}
templates (and their redirects) with the single, parameterized, {{langx}}
template. Most of the templates to be replaced are listed at Wikipedia:Templates for discussion/Log/2024 September 27/lang-?? templates (there may yet be others discovered along the way).
Automatic, Supervised, or Manual: automatic
Programming language(s): awb/c#
Source code available: User:Monkbot/task 20: Replace lang-xx templates
Links to relevant discussions (where appropriate): Wikipedia:Templates for discussion/Log/2024 September 27 § Replace and delete lang-?? templates
Edit period(s): continuous til done
Estimated number of pages affected: many upon many. as of this date, the most highly used {{lang-??}}
templates are listed in lines 13–75 (permalink) of Module:Transclusion_count/data/L (a page maintained by Ahechtbot/task 6 in support of {{high-use}}
). The sum of those numbers, less the amounts for {{lang-rus}}
, {{Lang-sr-Cyrl}}
, {{Lang-sr-cyr}}
(a redirect), {{Lang-sr-cyrl}}
(a redirect), and {{lang-zh}}
which for various reasons are not included, is 643,000. No doubt there are overlaps that would shrink that number but these are only 60-ish of 1150+ templates. By another metric, tallying the number of transclusions for the templates listed in Category:Lang-x templates – {{lang-rus}}
, {{language with name}}
, and {{spell-nv}}
excepted – quarry:query/86855 gives a number of 722,471 pages.
Namespace(s): mainspace now; perhaps other namespaces after all; see Trial complete below
Exclusion compliant (Yes/No): yes
Function details: task 20 is described at User:Monkbot/task_20: Replace lang-xx templates
Discussion
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — Preceding unsigned comment added by Primefac (talk • contribs) 16:50, 13 October 2024 (UTC)[reply]
Trial complete. Nothing unexpected. Contrary to my claim above (now stricken and modified), the bot will edit all namespaces because of WP:REDNOT. Deleting templates (something not done by the bot) will create red-linked templates which WP:REDNOT proscribes. Editing in all namespaces allows editors to delete templates with minimal manual cleanup. Monkbot's contributions 17:13–17:19 13 October 2024
—Trappist the monk (talk) 17:46, 13 October 2024 (UTC) added forgotten link to results 20:48, 13 October 2024 (UTC)[reply]
- Checked some of the edits and seems to be working as intended. Gonnym (talk) 11:38, 16 October 2024 (UTC)[reply]
- Yes, the edits appear to be good. This is a pretty simple task, with a trusted bot operator. This is a lot of pages (roughly 600,000), so any recommendations are welcome from BAG about how to limit the ire of the community as their watchlists register these changes. In previous discussions objecting to huge batches (over a million pages) of bot edits, it appears that the raw speed of the edits (over 100 per minute in some cases) was the main complaint. Limiting to under 20 edits per minute, per WP:BOTPERF, seems reasonable to me. – Jonesey95 (talk) 17:04, 17 October 2024 (UTC)[reply]
- Approved. As mentioned above, please try to keep the edit count to a reasonable limit; anything between 10-20epm historically has been acceptable. Primefac (talk) 11:53, 20 October 2024 (UTC)[reply]
- Yes, the edits appear to be good. This is a pretty simple task, with a trusted bot operator. This is a lot of pages (roughly 600,000), so any recommendations are welcome from BAG about how to limit the ire of the community as their watchlists register these changes. In previous discussions objecting to huge batches (over a million pages) of bot edits, it appears that the raw speed of the edits (over 100 per minute in some cases) was the main complaint. Limiting to under 20 edits per minute, per WP:BOTPERF, seems reasonable to me. – Jonesey95 (talk) 17:04, 17 October 2024 (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.