species.m.wikimedia.org
Wikispecies
Wikispecies:Requests for Comment
Welcome to Requests for Comment. This space is for any conversations that might require the opinions of the community to decide policy or the application of policy. Start a new conversation. For general conversation, see Wikispecies:Village Pump.
Post a comment
If you use the title box, you don't need to put a title in the message body.
Data from Wikidata
Hello since a few days I add data (using {{Wikidata list}}) from Wikidata in talk pages of references. What is potentially that data?
When a page exist for the name here then it is given in the lists, otherwise the link leads to the Wikidata items (I don't know of that function is modifiable)
The role of the reference for the name (first descritpion, recombination, replacement of junior homonym, taxonomic treatment, ...)
The pagination
A link to BHL (e.g. Template talk:Alcock, 1893)
A link to the Plazi treatment (e.g. Template talk:Lau & Reimer, 2019
An image
Currently I did that on Template talk:Alcock, 1893, Template talk:Shimomura, 2017, Template talk:Anderson & Zhang, 2017, Template talk:Zhou, Yang & Chen, 2019, Template talk:Liu, Tang & Luo, 2017, Template talk:Lau & Reimer, 2019, Template talk:Théel, 1879, Template talk:Murakami, 1944.
Questions, are you agree that I continue?
Christian Ferrer (talk) 11:51, 31 August 2021 (UTC)
OK, silence gives consent. For info the pages where I added are listed in Category:Lists based on Wikidata. Let me know if there is an issue, something to discuss or if you want to display specific data for specific publications. Regards, Christian Ferrer (talk) 18:23, 9 September 2021 (UTC)
How this work? What code I have to insert on talk page? I try in two pages with no good results. Burmeister (talk) 18:26, 9 September 2021 (UTC)
The exact code is:
{{Wikidata list|sparql= SELECT ?item ?itemLabel ?referenceHasRole ?referenceHasRoleLabel ?Pages ?BHL_URL ?PlaziID ?PlaziID_URL WHERE { ?item p:P225 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P248 wd:Put here the Q item number of the publication. OPTIONAL { ?item p:P225 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P248 ?publication. OPTIONAL { ?item p:P225 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P248 ?publication. ?reference pr:P6184 ?referenceHasRole} OPTIONAL { ?item p:P225 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P248 ?publication. ?reference pr:P1992 ?PlaziID BIND(IRI(CONCAT("http://treatment.plazi.org/id/",?PlaziID)) as ?PlaziID_URL)} OPTIONAL { ?item p:P225 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P248 ?publication. ?reference pr:P304 ?Pages} OPTIONAL { ?item p:P225 ?statement . ?statement prov:wasDerivedFrom ?reference . ?reference pr:P248 ?publication. ?reference pr:P687 ?BHLpageID BIND(IRI(CONCAT("https://biodiversitylibrary.org/page/",?BHLpageID)) as ?BHL_URL)} } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } |columns=label:Taxon,?referenceHasRoleLabel:Reference role,?Pages:Page(s),?BHL_URL:BHL,?PlaziID_URL:Plazi,P18 }} {{Wikidata list end}}
After to have added the code you click on "Automatically update the list now". Christian Ferrer (talk) 19:05, 9 September 2021 (UTC)
If I found time I will try to see if it is possible to create a substitution template with the Qitem as parameter... that will be much more simple to use... Christian Ferrer (talk) 19:09, 9 September 2021 (UTC)
Another exemple for the code where "Q90136167" (at line 8) is the Q number of the publication (Q90136167). Christian Ferrer (talk) 19:18, 9 September 2021 (UTC)
@Burmeister: you can use this: {{subst:User:Christian Ferrer/sandbox2|Q90136167}}​, and of course by replacing the Qitem number by the one of the article/publication of your choice.
Note that all this works only if the data is already in Wikidata (and at the right place), for all the exemples I gave at top I have entered the data myself in Wikidata. E.g. I added the data there for Nymphaster basilicus displayed in Template talk:Alcock, 1893.
If the comunity agrees I can create a template in the template namespace, e.g. Template:Taxa list instead of my user namespace, but nothing urges as this is a substitution. Note also that we can call everything from Wikidata, the query used here is my arbitrary choice, more less or different data can be shown, you can ask me if you want something different and I will see if I can do it.
Note that only one Wikidata list is allowed by page. I have chose arbitrary the talk page but this is maybe not the best place. Such a list can be displayed in the main page, and with the substitution template we can also call a subsection title (with potential translations) such as ==List of taxa treated in this publication==. Christian Ferrer (talk) 18:21, 11 September 2021 (UTC)
Cactus redirect to Mammillaria
I don't normally participate in this wiki, but while doing some research I came across this redirect, Cactus. For some reason it did not redirect to Cactaceae as expected, but to Mammillaria, a genus of Cactaceae. I assumed this was a mistake and corrected it, being that cactus is a common name of the family Cactaceae. But this was reverted, saying "this redirect is for the name "Cactus L., Sp. Pl. 466. 1753, nom. rej.", not the common name "cactus" itself".
While I guess this may be the policy of Wikispecies, this is ridiculous. The idea that a definition deprecated more than a century ago should be prioritised for a redirect over the common, in use name is nonsense. At best, this creates confusion and at worst may lead to people using this wiki to mistakenly believe that Mammillaria is the proper name for cactus.
Rather than get into an edit war over the matter, I thought it best to see what others say.Kylesenior (talk) 08:49, 27 November 2021 (UTC)
I have been working on bringing our Cactaceae pages into the 21st Century, but did not revert your well meaning edit. However, I must agree with you - the word Cactus should go to the family, redirecting to Mammillaria is a bit misleading. IMHO. Andyboorman (talk) 10:37, 27 November 2021 (UTC)
@Kylesenior: Hi, I was the one who reverted your edit, sorry if I have caused trouble by doing that! I understood it as a well-meaning edit too, but I don't think we make redirects for common names at all on Wikispecies. Apart from anything else, "cactus" is only the common name for the family in English and a few other languages. Wikispecies is supposed to be language neutral (though we use English a lot in many places anyway despite this policy), so it seemed weird to me to have redirects specifically for English common names anyway.
... On that note though, should Platypus have a hatnote to Ornithorhynchus? That might have a similar problem to "Cactus" specifically for English speakers (though arguably much worse), but maybe not for other languages. Monster Iestyn (talk) 17:28, 27 November 2021 (UTC)
Last edited on 27 November 2021, at 17:28
Wikispecies
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
HomeRandomLog in Settings DonateAbout WikispeciesDisclaimers
LanguageWatchEdit