Jump to content

Mòideal:Wikidata4Bio/doc

O Wiktionary

This is the documentation page for Mòideal:Wikidata4Bio

Mòideal:Wikidata4Bio (talk⧼dot-separator⧽edit⧼dot-separator⧽hist⧼dot-separator⧽links⧼dot-separator⧽doc⧼dot-separator⧽subpages⧼dot-separator⧽tests / results⧼dot-separator⧽sandbox⧼dot-separator⧽all modules)


Usage
This module is used by:
Mòideal:Wikidata4Bio/sandbox is the sandbox of this module (to test new developments) which is used in the sandbox template {{VN/sandbox}}
Functions and their usage
  • dumpWikidata() to display all wikidata data accessible (not associated with wikidata)
  • getVN() is called by {{VN}}
  • getVNTitle() is called by {{VN}} to display '[modify wikidata]'
  • getLanguagesManagedByVN() is called by {{VN/doc}} to display all languageCodes managed by VN.
  • Wikidata checks (See here all wikidata properties for databases):
    • compareAvibaseIdWithWikidata() is called by {{Avibase}} with sciname
    • compareBioLibIdWithWikidata() is called by {{BioLib}} with decoratedSciname
    • compareEOLIdWithWikidata() is called by {{EOL}} with decoratedSciname
    • compareFaunaeurIdWithWikidata() is called by {{Faunaeur}} with decoratedSciname
    • compareFishBaseSpeciesIdWithWikidata() is called by {{FishBase species}} with sciname
    • compareFungorumIdWithWikidata() is called by {{Fungorum species}}, {{Fungorum genus}} and {{Fungorum taxon}} with sciname
    • compareGBIFIdWithWikidata() is called by {{GBIF}} with decoratedSciname
    • compareGRINURLWithWikidata() is called by {{GRIN species}}, {{GRIN genus}}, {{GRIN subtribe}}, {{GRIN tribe}}, {{GRIN subfamily}} and {{GRIN family}} with sciname
    • compareGymnospermDatabaseIdWithWikidata() is called by {{Gymnosperm Database}} with sciname
    • compareIPNIIdWithWikidata() is NOT called by {{IPNI}}, which should be renamed {{IPNI search}} because it does not use an id
    • compareITISIdWithWikidata() is called by {{ITIS}} with decoratedSciname
    • compareIUCNIdWithWikidata() is called by {{IUCN}} with sciname
    • compareLPSNUrlWithWikidata() is called by {{LPSN}} with sciname
    • compareMSWIdWithWikidata() is called by {{MSW}} with decoratedSciname
    • compareMycoBankIdWithWikidata() is called by {{MycoBank}} with sciname
    • compareNCBIIdWithWikidata() is called by {{NCBI}} with decoratedSciname
    • compareNRCSPlantsIdWithWikidata() is called by {{NRCS Plants}} with sciname
    • compareThePlantListIdWithWikidata() is called by {{ThePlantList species}} with sciname
    • compareTPDBIdWithWikidata() is called by {{TPDB}} with decoratedSciname
    • compareTropicosIdWithWikidata() is called by {{Tropicos}} with sciname
    • compareWoRMSIdWithWikidata() is called by {{WRMS}} and {{WRMS species}} with decoratedSciname
How to improve and test this module
  1. develop your modification in Mòideal:Wikidata4Bio/sandbox, the sandbox of this module
  2. verify your changes in Mòideal:Wikidata4Bio/sandbox/testcases
  3. verify your changes in {{VN}} in :
  4. verify your changes in {{ITIS}} in :
  5. report your modifications in Mòideal:Wikidata4Bio
  6. verify your changes in Mòideal:Wikidata4Bio/testcases
  7. verify your changes in Ailanthus altissima with normal {{VN}}
See also