MediaWiki extension NCBITaxonomyLookup

Clone this repo:
  1. ce710ef build: Updating dependencies by libraryupgrader · 7 days ago master
  2. baf1f33 build: Updating dependencies by libraryupgrader · 3 months ago REL1_42
  3. 217af40 build: Updating npm dependencies by libraryupgrader · 3 months ago
  4. ee52435 build: Updating npm dependencies by libraryupgrader · 3 months ago
  5. 5e296a7 Localisation updates from https://translatewiki.net. by Translation updater bot · 9 months ago

NCBITaxonomyLookup

Setup

  • Clone the repository into the /extensions folder
  • Add wfLoadExtension('NCBITaxonomyLookup'); to the bottom of LocalSettings.php

Configuration

  • $wgNCBITaxonomyLookupCacheTTL = 0 time to keep the cached values (in seconds)
  • $wgNCBITaxonomyLookupApiURL the API url

Usage

The #taxonomy parser functions takes two arguments:

  • the taxonomy ID
  • the xpath of the XML element to print

Example:

{{#taxonomy:12345|Taxon/Rank}}
{{#taxonomy:12345|Taxon/ScientificName}}
{{#taxonomy:45678|Taxon/OtherNames/GenbankCommonName}}