Talk:Unicorn leatherjacket

Copyright problem removed
This article was based on the corresponding article at fishbase.org or niwascience.co.naz, neither of which are compatibly licensed for Wikipedia. It has been revised on this date as part of a large-scale project to remove infringement from these sources. Earlier text must not be restored, unless it can be verified to be free of infringement. For legal reasons, we cannot accept copyrighted text or images borrowed from other web sites or printed material; such additions will be deleted. Contributors may use external websites as a source of information, but not as a source of sentences or phrases. Accordingly, the material may be rewritten, but only if it does not infringe on the copyright of the original or plagiarize from that source. Please see our guideline on non-free text for how to properly implement limited quotations of copyrighted text. Wikipedia takes copyright violations very seriously, and persistent violators will be blocked from editing. While we appreciate contributions, we must require all contributors to understand and comply with these policies. (For background on this situation, please see the related administrator's noticeboard discussion and the cleanup task force subpage.) Thank you. --Geronimo20 (talk) 04:22, 28 March 2009 (UTC)

using conservation status from wikidata
As a first test case, I wrote a Module to retrieve the IUCN status from wikidata and used that for this species. The goal is to have any changes in wikidata be automatically reflected in wikipedia articles, without having to manually update or periodically use a bot.

Here are the relevant pages: http://www.iucnredlist.org/details/16404943/0#sectionAssessment https://www.wikidata.org/wiki/Q2626345 https://en.wikipedia.org/wiki/User:Kenmcl2/Template:IUCN_status (a temporary address) https://en.wikipedia.org/wiki/Module:IUCN_status

I edited the Taxobox to include these lines:
 * status =
 * status_system = IUCN3.1

That first line retrieves the status (from wikidata property P141). That second line enables the inclusion of the corresponding graphic. Those two lines together should be able to be used for any article's Taxobox, but as of this minute I've only also tested (but not saved the edit) for Aaadonta angaurana, which is Critically Endangered. I still need to test for the other status codes.

The wikidata setup provides text for status, while the Taxobox requires a code. So my module is used to convert from text to code. The list of wikidata allowed values: https://www.wikidata.org/wiki/Property_talk:P141 least concern (Q211005), near threatened (Q719675), Conservation Dependent (Q158862), vulnerable (Q278113), endangered species (Q11394), critically endangered (Q219127), Extinct in the Wild (Q239509), Extinct (Q237350), Data Deficient (Q3245245) The wikipedia Taxobox codes: https://en.wikipedia.org/wiki/Template:Taxobox#Conservation_status

The already cited page for the module shows in the comments some questions that needs a taxonomist to answer (I'm not a taxonomist.) E.g., what about code DD which is not in the IUCN 3 graphic?

I'm also undecided so far if a Template is needed, or just the Module alone is better. They seem to have similar appearance for the end user. calling the Template from the Taxobox: calling the module's function from the Taxobox directly:

(It's suggested by the docs to generally use a module from inside a Template, but in this case that seems superfluous.)

There also might be some loss of granularity as the Taxobox can handle 'possibly extinct' (as in https://en.wikipedia.org/wiki/Aaadonta_angaurana) but the wikidata property doesn't presently have that as an allowed value.

Hopefully, this can be helpful. It's also possible to write code to edit the Taxobox entries for status, instead of doing that manually for thousands of pages.

Maybe I should move this comment, but as of right now I don't know where the appropriate place is.