Open main menu

Create new categories for generaEdit

  1. The bot is given the name of the category which the genera belong to. On that category page is a template that contains the genera which should be there: {{Genus}}.
    • If the genus name has been expanded (due to name sharing problems) this shows in the last items of the list included in {{Genus}} via "d<entry number>", adjust the list of genus categories that should exist for that.
    • Or bot gets a list of genera from the operator and what template name to use....
  2. If the category does not exist for the genera create the category with a template and create the talk page and add the species template instructions python templated text to the new talk page.
  3. If the category does exist
    1. Create the talk page and paste the instructions.
    2. If taxonavigation template is being used, delete it (a nice feature might be to grab the "authority" string if it exists in it).
    3. Check for use of the translation table template.
    4. Check to see if the %(parent_name)s template is being used ({{%(parent_name)s)
      1. If the template is being used, do nothing.
      2. If the template is not in use on the existing genus category, apply the template just below the translation table or at the upper portion of the category page and search for [[Category:%(parent_name)s]] and delete it if it exists.
<!-- this genus category was generated by COMBotBot -->
     {{<name of page list was on>
       | genus = PAGENAME
       | auth =
[[Category:Genera which need images]]

The pythonized template:

genus_template="""<!-- this genus category was generated by COMBotBot -->
       | genus = %(genus_name)s
       | auth =

Ready for the botEdit

Create species categories from galleriesEdit

After the galleries for a genus have been checked for being named correctly, the bot should be told to work on that group.

  1. Take the TEMPLATENAME from the template that occurs on the genus page (PAGENAME from Create new categories for genera here).
  2. Read gallery name separate into two words <genus> and <species>
  3. Check for categories on gallery articles, remove [[:Category:<genus>]] or [[:Category:<genus>|<species>]] and [[:Category:<genus> <species>]] from where it appears in the gallery/article and add it to the lower part of the article content
  4. If species category exists, remove {{seecat}} from it, if it occurs there. Add the species template for that group.
<!-- this species category was generated by COMBotBot -->
     {{TEMPLATENAME species
       | genus = GENUS
       | species = SPECIES
       | auth =

The pythonized template:

species_template="""<!-- this species category was generated by COMBotBot -->
       | genus = %(genus_name)s
       | species = %(species_name)s
       | auth =


An example category for genera
Category:Phaseoleae. After the string ";Included genera;" there is a list of genera in which some categories exist for and some don't.
  • At the time of this writing Category:Adenodolichos does not exist. The bot should create this category with the following template and category:
<!-- this category was generated by COMBotBot -->
       | genus = <genus name from list>
       | auth =
[[Category:<name of page list was on> genera which need images]]
  • At the time of this writing Category:Lablab does exist. The sub-categorization of that article should remain in tact unless it is the same as the name of the category the list was on, in this case "Phaseoleae". Additionally, all other text should be stripped and replaced with:
<!-- this category was generated by COMBotBot -->
       | genus = Lablab
       | auth =

More than just GeneraEdit

Still being articulated

An example category
Category:Fabaceae has three subcategories which are in the taxonomy tree. Those three appear on the category page in two different formats:
  1. A template subcategorized them with a space in front of their names via mediawiki software.
  2. A comma separated list has been pasted there by a human editor following the string ";Included subfamilies:"
    It would be nice if the bot could choose between formats to interpret!
  3. The categories in that list go to a category that is formatted the same and it could be a list that starts with ";Included tribes:" or ";Included genera:". The lists should have categories made for them with that templated template pasted on them (the templates should manage the subcategorization). And do this until the lists of genera are completed at the more branchy parts of the taxonomy tree.

Problem placesEdit