[08:09:33] Hello together. I am not an experienced editor in context of Wikidata/-pedia. I need to help to request/query the latest/highest version number of a software (from Wikidata) in a Wikipedia Template. Currently it requests the "preferred" value. [08:09:41] | latest release version = {{wikidata|property|preferred|references|edit|P348|P548=Q2804309}} [08:09:41] 10[1] 10https://www.wikidata.org/wiki/Template:wikidata [08:12:21] Instead of "preferred" I tried "highest", "latest" and "best". Doesn't help. [08:14:38] "normal" gives me the oldes version. "normal+" gives me the "preferred" (which is not the highest/latest) [08:40:04] buhtz: which item are you working with? [08:41:22] What do you mean by "item"? It is the "stable release" field in the info box in this article: https://en.wikipedia.org/wiki/Back_in_Time_(Linux_software) [08:41:35] The related wikidata: https://www.wikidata.org/wiki/Q4839110?uselang=en#P348 [08:41:50] yes, that’s called an item (see also “wikidata item” in the sidebar) [08:42:10] in that case the ranks should just be changed to make the latest version the preferred statement, IMHO [08:42:25] (i.e. make the 1.4.3 statement normal rank and the 1.5.1 statement preferred rank) [08:44:06] thank you for the reply. But that is exactly now what I want to do because it is manual work I have to do. IMHO the query should be "smart" enough to pick up the latest/highest value by itself. That is what I try to achive. Otherwise the idea of that wikidata item is useless because it still need manual interventions. [08:44:16] not "now". "not" [08:44:34] "exactly not what I want to do" [08:54:40] but the version number data is used by lots of other projects as well, and our recommendation for all of them is to (mostly) use the best-rank statement [08:55:05] if you were to just use the highest version number, you’d be using the data in a nonstandard way (which might cause problems on other items or in future), and only papering over the data issue for English Wikipedia [08:55:12] whereas correcting the ranks actually fixes the problem for everyone [09:01:12] I don't see the use case for a value like "preferred". [09:01:31] The box says "latest version" and because of that it should selecte the "latest" and not the "preferred". [09:01:43] The box doesn't display what it says. [09:03:14] it also seems to be possible that more then one value in that list can be "preferred". IMHO a bug but there might be a use case I don't imagine. [09:07:02] in general, sometimes multiple preferred values can be useful [09:07:19] but in the case of software versions in particular, a single-best-version constraint might be appropriate IMHO https://www.wikidata.org/wiki/Q52060874 [09:07:43] (it wouldn’t actually enforce anything, but it would show a warning if there’s more than one best-rank version; see https://www.wikidata.org/wiki/Help:Property_constraints_portal) [09:09:33] I tried to use the query ("{{wikidata|property|preferred|references|edit|P348|P548=Q2804309}}") in the "List of backup software" article in the "Last update" column. But it doesn't work. The field is empty. [09:09:34] 10[2] 10https://www.wikidata.org/wiki/Template:wikidata [09:12:02] in that case I assume you would also have to include some parameter to specify which item to pull the statement from [09:12:17] (as it would be different per row, and the “list of backup software” item itself won’t have any software version statements) [09:12:37] I assume enwiki’s Template:Wikidata has parameters for that but I’m not familiar with it