daniel added a comment.

@Oliv0 I'd prefer a Lua module to implement the "show statement value instead of label if it exists" logic. This logic could be adjusted on-wiki, if needed. {{#property:}} should be reserved for the "low level" direct access. The module call can easily be wrapped in a template, so you would just have {{pretty-prop:P1234}} in the wikitext.

I can see that limited markup in labels would be nice for some use cases, but introducing it now opens a whole can of ugly worms in terms of compatibility.


TASK DETAIL
https://phabricator.wikimedia.org/T139573

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: daniel, VIGNERON, Moyogo, Bugreporter, Ltrlg, Metamorforme42, Aklapper, Zppix, Oliv0, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to