Wikipedia:Bots/Requests for approval/Theo's Little Bot 4
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
Operator: Theopolisme (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 05:14, Sunday April 7, 2013 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python + mwclient + mwparserfromhell
Source code available: github
Function overview: This bot adds |road=yes
and |road-importance=[importance_value]
to the {{WikiProject Australia}} talk page banner of articles in Category:Roads in Australia and its subcategories.
Links to relevant discussions (where appropriate): bot request
Edit period(s): one-time run
Estimated number of pages affected: ~2,137
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Goes through pages in Category:Roads in Australia and its subcategories and gets their associated talk pages. If the Australia WikiProject tag (or one of its redirects) is not already found on the page, it adds it. Then the bot adds two new parameters, |road=yes
and |road-importance=[importance_value, inherited]
, to the template.
Discussion
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 03:57, 8 April 2013 (UTC)[reply]
- Trial complete. [1]. One minor fix to code midway through due to the bot occasionally not recognizing some redirects to the WikiProject's template, otherwise, all went well. —Theopolisme (talk) 01:08, 9 April 2013 (UTC)[reply]
- Approved. MBisanz talk 05:13, 10 April 2013 (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 WT:BRFA.