Module talk:Wikidata4Bio

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Language code list is at Module:Languages/List and can be loaded using:

local languages = require('Module:Languages/List').list

I think keeping a central list saves us some maintenance efforts. -- Rillke(q?) 16:00, 5 December 2013 (UTC)[reply]

I see that the here listed ones are only a subset (284), of all that MediaWiki knows (391) and that are listed at Module:Languages/List. -- Rillke(q?) 16:06, 5 December 2013 (UTC)[reply]

Trackers and Wikidata[edit]

@Liné1: Anyone that can make so that this module adds a category if the wikidata item is missing that property? Like "EOL ID misisng on WIkidata but exists on Commons"?

function p.compareEOLIdWithWikidata(frame)
	return compareSiteIdWithWikidata(frame, 'P830', 'EOL', 'EOL', {'{{EOL'}) .. getDebug() .. getAdditionalCategoryAboutWikidata()
end

And can anyone expand missing templates to do that ^? Josve05a (talk) 21:05, 27 February 2016 (UTC)[reply]

Hello @Josve05a:
Yes good idea, I will do that.
But perhaps not one category per template.
I could create Category:Pages with biology properties missing on Wikidata like existing Category:Pages with biology property different than on Wikidata
What do you think ?
Cheers Liné1 (talk) 08:28, 6 March 2016 (UTC)[reply]
@Liné1: Sounds great :) You seem to have been able to understand what I ment, which isn't easy to do ;) Are you able to code this, because I have no idea how to do that... Josve05a (talk) 13:24, 7 March 2016 (UTC)[reply]

Gallery vs. category items[edit]

@Liné1: I love the warnings about Wikidata in {{VN}}! What do you think about warnings when a Commons category is connected with a non-P31:Q4167836? All categories should be on "category items" not on "gallery items". (tJosve05a (c) 01:55, 23 January 2017 (UTC)[reply]

Hello my friend @Josve05a: .
It almost already exists: Category:Biology categories without double wikidata item
Those are categories (except infra species cat) that have only one wikidata item (when they should have 2, see the explanation in Category:Biology categories with double wikidata item).
I will display your exact error, when Category:Pages with biology property incorrect on Wikidata has less content ;-)
There is also Category:Pages with biology property different than on Wikidata
Cheers Liné1 (talk) 06:56, 23 January 2017 (UTC)[reply]
Hello @Liné1: ! Why isn't Category:Stigmella spinosissimae in Category:Biology categories without double wikidata item? (tJosve05a (c) 12:59, 23 January 2017 (UTC)[reply]
@Josve05a: : That is the main issue about our link with wikidata: for families, wikicommons categories can have double taxonomic Wikidata items.
But for infra species (species, subspecies ...) there are only Wikidata Taxon Items (no Wikidata Category Item). So there are 2 cases:
  • If wikicommons species gallery exists:
  • If wikicommons species gallery does not exist
That is why wikicommons contributor are not happy with wikidata.
Conclusion: Category:Biology categories without double wikidata item contains no infra specis (look at the deqscription)
Cheers
Ah, i see. Liné1, after having spoken with some other Wikidata editors on IRC, I've concluded that we should create WIkidata category items, such a https://www.wikidata.org/wiki/Q28475251 (for Category:Aspicilia aquatica). We should treat all taxon categories the same, and all should be only b linked to WIkidata category items, or nothing at all. Could you please adjust so that infra specis is included in the category? (tJosve05a (c) 14:37, 23 January 2017 (UTC)[reply]
@Josve05a: . Thuis is interesting. Who said that all taxon should have a Wikidata caetgory item ? It seems a solution. A boring solution (we would duplicate millions of species items). Cheers Liné1 (talk) 14:56, 23 January 2017 (UTC)[reply]
Can't remember names, since it was a while since I discussed it, but I do believe the consensus was that Wikimedia categories, no matter project, are notable to have Wikidata items, as long as there is a main topic which can be linked to. Thus, all species categories are notable (in a Wikidata sence) to have their own items. Therefore it would solve some of our "issues". (tJosve05a (c) 15:03, 23 January 2017 (UTC)[reply]
Hello my friend @Josve05a:
I have progressed on the subject of wikidata species categories.
It will be a technical solution: I will be able in {{VN}} to request wikidata for all items with P373 (Commons category)=WikicommonsCategoryName
So there is no need to create thousands of wikidata species categories for species (Of course we can create it when the is a category in any wikidata)
Cheers Liné1 (talk) 10:20, 15 February 2017 (UTC)[reply]

Interwiki?[edit]

Could someone more knowledgeable please have a look at Rallus? German Wikipedia has no article about Rallus (d:Q220705), link to the gallery, but it has an article about Rallus aquaticus (d:Q185099). The interwiki links of Rallus point to the latter for German. When I added an interwiki link to de in d:Q220705, Rallus pointed to the correct page. User:Holger1959 removed {{VN}} for d:Q220705, after which the interwiki link pointed to de:Klapperralle (d:Q1271783), also linked via {{VN}}. Sebari – aka Srittau (talk) 20:22, 9 May 2017 (UTC)[reply]

P373 statements on category items[edit]

There's a silly error on Category:Citrullus_lanatus saying "Error in Wikidata: wikidata cat item 'Category:Citrullus lanatus' (Q99827981) property 'Commons category' (P373) should be 'Citrullus lanatus' (not empty)." which seems to come from this module. I don't think that there's any good reason to put P373 statements on Wikidata category items (and there's a long-term ambition to get rid of the need for P373 statements entirely). I'll remove the error if I can figure out how, although my first attempt wasn't sufficient. --ghouston (talk) 02:34, 2 October 2020 (UTC)[reply]

Looks like I found it. --ghouston (talk) 02:47, 2 October 2020 (UTC)[reply]

More compact display[edit]

See Template_talk:VN#More_compact_display The RedBurn (talk) 07:19, 30 March 2022 (UTC)[reply]

Asturianu names?[edit]

Is there a reason why in a lot of categories {{VN}} mentions simply the scientific name as venacular name in asturianu? See for instance Category:Gilpinia fennica or Category:Scythris fuscicomella. Lymantria (talk) 22:04, 4 January 2023 (UTC)[reply]