Wikipedia:Bots/Requests for approval/Monkbot 20

New to bots on Wikipedia? Read these primers!

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

Exclusion compliant (Yes/No): yes

Function details: task 20 is described at User:Monkbot/task_20: Replace lang-xx templates

Discussion

edit