Wikipedia:Bots/Requests for approval/NoomBot 5
- 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: Noommos (talk · contribs)
Time filed: 19:41, Monday April 4, 2011 (UTC)
Automatic or Manually assisted: Auto
Programming language(s): PHP
Source code available: On request
Function overview: {{Taxobox}} cleanup.
Links to relevant discussions (where appropriate): Overview by Bob the Wikipedian: Wikipedia:Bot_requests#Taxobox_cleanup and the relevant RfC: Template_talk:Taxobox#RfC. Supplemental butterfly tasks at WT:LEPID#RfC.
Edit period(s): One time
Estimated number of pages affected: Between 21.6K and 38K
Exclusion compliant (Y/N): N
Already has a bot flag (Y/N): Y
Function details: Replaces unranked_familia and unranked_familia_authority parameters with unranked_superfamilia and unranked_superfamilia_authority in order to allow a modification to the {{Taxobox}} template. This bot will operate on the Category:Taxoboxes employing both unranked familia and superfamilia.
Discussion
[edit]Have you addressed the comment by Stemonitis? It seems he had the most productive input during the RfC. Gigs (talk) 13:39, 7 April 2011 (UTC)[reply]
- Currently, the bot does not address this issue. Noom talk contribs 23:09, 9 April 2011 (UTC)[reply]
- There has been no discussion, as best I am aware, to attempt any consensus to perform the removal of the minor ranks per Stem's suggestion. This is a separate issue, but it would be nice to do both tasks in the same sweep. I'll post an RfC now to determine whether there is consensus for that mass edit suggestion. Bob the WikipediaN (talk • contribs) 14:46, 13 April 2011 (UTC)[reply]
- Question from SpinningSpark if an editor informs you that they think your bot has made a mistake, what action will you take? SpinningSpark 18:02, 21 April 2011 (UTC)[reply]
- Normally, problems with NoomBot are handled at its bugs page. But; if necessary, the bot will be stopped/blocked, any errors it has placed on the affected pages will be fixed/remove and I'll set about fixing the bug. Noom talk stalk 17:19, 23 April 2011 (UTC)[reply]
- Unless I'm missing something, I don't see any new comments in that last week at the RFC. Will it be formally closed or is consensus blatantly clear? MBisanz talk 20:37, 22 April 2011 (UTC)[reply]
- It appears clear; there's been no objection to it at all. Bob the WikipediaN (talk • contribs) 21:08, 22 April 2011 (UTC)[reply]
List of tasks (updated 22.4.11)
[edit]- All tasks may be carried out in a single edit per page, though butterfly removals should occur before unranked family-superfamily replacements.
- Butterfly tasks:
- Add
|classis=[[Insect]]a
to taxoboxes in Category:Lepidopterans omitting Insecta - Remove
|infraclassis=
parameter from Category:Lepidopterans employing both infraclassis and familia - Remove
|infraordo=
from Category:Lepidopterans employing both infraordo and genus - Remove
|subclassis=
from Category:Lepidopterans employing both subclassis and familia - Remove
|subfamilia=
from Category:Lepidopterans employing both subfamilia and species - Remove
|subordo=
from Category:Lepidopterans employing both subordo and genus - Remove
|subtribus=
from Category:Lepidopterans employing both subtribus and species - Remove
|superfamilia=
from Category:Lepidopterans employing both superfamilia and genus - Remove
|superordo=
from Category:Lepidopterans employing both superordo and familia - Remove
|unranked_familia=
from Category:Lepidopterans employing both unranked familia and genus - Remove
|unranked_superfamilia=
from Category:Lepidopterans employing both unranked superfamilia and genus - Remove
|zoosubsectio=
from Category:Lepidopterans employing both zoosubsectio and genus - For all of the aforementioned categories, remove the following text wherever it appears:
<!-- outcomment unnecessary taxa instead of deleting them. They may eventually be included again when the article grows longer. -->
- Add
- Unranked family-superfamily tasks, Category:Taxoboxes employing both unranked familia and superfamilia
- Replace
|unranked_familia=
with|unranked_superfamilia=
- Replace
|unranked_familia_authority=
with|unranked_superfamilia_authority=
- Replace
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 04:22, 23 April 2011 (UTC)[reply]
- Now that I'm back from wikibreak, will settle in quickly, code the extra functions in and run a trial with a pick and mix of the new task list. Thanks to Bob for making the list :). Noom talk stalk 17:19, 23 April 2011 (UTC)[reply]
Trial complete. Noom talk stalk 15:03, 25 April 2011 (UTC)[reply]
- Also, count() reports 43042 articles with all the categories combined. Noom talk stalk 15:15, 25 April 2011 (UTC)[reply]
- I'll have a quick look through the contributions and make sure things are going well. That count is surprising...surely that double- and triple- counted a few articles. Does the tool account for some articles belonging to multiple categories? Bob the WikipediaN (talk • contribs) 20:52, 25 April 2011 (UTC)[reply]
- All 50 edits are error-free as far as I can tell, though I've noticed a couple opportunities for improvement:
- Most of the taxoboxes missing the "classis" parameter already have one called "class". The parameter "class" is doesn't do anything at all and ought to be removed.
- When adding the "classis" parameter, it should ideally be placed below the phylum rather than at the end of the template. This doesn't affect the product, but it makes the taxobox code significantly more intuitive to editors.
- Keep up the good work! Bob the WikipediaN (talk • contribs) 21:06, 25 April 2011 (UTC)[reply]
- The tool shouldn't count an article more than once, regardless of which categories it's in. I'll modify the insertion behavior and I'll begin removing class now to. Noom talk stalk 21:14, 25 April 2011 (UTC)[reply]
- Added the requested changes. Ready to go. Noom talk stalk 22:30, 28 April 2011 (UTC)[reply]
- All 50 edits are error-free as far as I can tell, though I've noticed a couple opportunities for improvement:
- I'll have a quick look through the contributions and make sure things are going well. That count is surprising...surely that double- and triple- counted a few articles. Does the tool account for some articles belonging to multiple categories? Bob the WikipediaN (talk • contribs) 20:52, 25 April 2011 (UTC)[reply]
- Approved. MBisanz talk 03:46, 5 May 2011 (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.