User:Taxonomybot: Difference between revisions
Added info / Github link |
→Features: Add nowiki tag so it doesn't run the extension when I am talking about it |
||
Line 5: | Line 5: | ||
== Features == | == Features == | ||
Checks this wiki for newly created pages - when a new page is found, it checks the iNaturalist taxonomy and iNaturalist Provisional Species Name observation field via the iNaturalist API to see if the page is a species name in use on iNaturalist. If it is, it makes sure a References section exists at the end of the article that links to the observation of that species or provisional species name on iNaturalist. It also makes sure the References section links to the Mycomap taxonomy page, and adds the link if it doesn't exist. Finally it adds a Gallery section if it doesn't exist which adds the tag <iNaturalistGallery />. This tag calls https://github.com/MatejFranceskin/iNaturalistGallery, an extension that shows relevant images from iNaturalist. For pages about a scientific name it shows images from observations that have the DNA Barcode ITS observation field - for pages about provisional names, it adds images from iNaturalist from observations which have that Provisional Species Name observation field. | Checks this wiki for newly created pages - when a new page is found, it checks the iNaturalist taxonomy and iNaturalist Provisional Species Name observation field via the iNaturalist API to see if the page is a species name in use on iNaturalist. If it is, it makes sure a References section exists at the end of the article that links to the observation of that species or provisional species name on iNaturalist. It also makes sure the References section links to the Mycomap taxonomy page, and adds the link if it doesn't exist. Finally it adds a Gallery section if it doesn't exist which adds the tag <nowiki><iNaturalistGallery /></nowiki>. This tag calls https://github.com/MatejFranceskin/iNaturalistGallery, an extension that shows relevant images from iNaturalist. For pages about a scientific name it shows images from observations that have the DNA Barcode ITS observation field - for pages about provisional names, it adds images from iNaturalist from observations which have that Provisional Species Name observation field. | ||
Taxononybot comes with get.mycomapurl.py, a script that gets the Mycomap taxonomy page URL when given a scientific name or provisional species name. Adding a link to the Mycomap taxonomy page is really cool because it contains a heat map of where that name exits and lots of information about the name. | Taxononybot comes with get.mycomapurl.py, a script that gets the Mycomap taxonomy page URL when given a scientific name or provisional species name. Adding a link to the Mycomap taxonomy page is really cool because it contains a heat map of where that name exits and lots of information about the name. |
Latest revision as of 17:59, 1 May 2025
Taxononybot is a bot created by Alan Rockefeller. It runs on Pywikibot, a Python library that interfaces with Mediawiki.
The source code / README is here: https://github.com/AlanRockefeller/taxonomybot.py
Features[edit | edit source]
Checks this wiki for newly created pages - when a new page is found, it checks the iNaturalist taxonomy and iNaturalist Provisional Species Name observation field via the iNaturalist API to see if the page is a species name in use on iNaturalist. If it is, it makes sure a References section exists at the end of the article that links to the observation of that species or provisional species name on iNaturalist. It also makes sure the References section links to the Mycomap taxonomy page, and adds the link if it doesn't exist. Finally it adds a Gallery section if it doesn't exist which adds the tag <iNaturalistGallery />. This tag calls https://github.com/MatejFranceskin/iNaturalistGallery, an extension that shows relevant images from iNaturalist. For pages about a scientific name it shows images from observations that have the DNA Barcode ITS observation field - for pages about provisional names, it adds images from iNaturalist from observations which have that Provisional Species Name observation field.
Taxononybot comes with get.mycomapurl.py, a script that gets the Mycomap taxonomy page URL when given a scientific name or provisional species name. Adding a link to the Mycomap taxonomy page is really cool because it contains a heat map of where that name exits and lots of information about the name.