Content deleted Content added
→Support for P5017 last update: proposed fix |
|||
Line 16:
== Support for P5017 ''last update'' ==
{{ping|Thayts|Janhrach}} Hi. Is it possible to add support for [[:d:Property:P5017|P5017 ''last update'']] property? It seems to be perfectly valid citation/reference property for continuously updated sources to indicate last-update date of the version actually cited and it is being used all over WD this way, see [[d:Special:WhatLinksHere/Property:P5017|backlinks]] and [https://linkcount.toolforge.org/?project=www.wikidata.org&page=Property%3AP5017 stat]. Right now rendering attempt of a citation having this property filled here on enwiki leads to a nasty error output:
:<code><nowiki>{{#invoke:wd|reference|Q733993|P2046}}</nowiki></code> → <ref name="wikidata-8d9471ae1372c5ce8f22dc9a33852d9f3e9a6bc3-v18"><span style="color:#dd3333">
Line 50 ⟶ 49:
I have implemented (in /sandbox) support for configuring the module (in /i18n) for using multiple Wikidata properties as sources for citation paramenters. These properties are ordered – each has it priority, which determines when to use the said property. I used this functionality to fix the above issue. (Both ''publication date'' and ''last update'' are used as a source for the {{mono|date}} citation argument, but ''last update'' has higher priority.) I also used this mechanism to reimplement the usage of ''subject named as'' as a fallback for {{mono|title}}. Your comments are welcome. [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 16:48, 6 July 2025 (UTC)
:{{done}}. Implemented. [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 19:55, 22 July 2025 (UTC)
== Retrieving multiple wikidata property values in one call ==
|