kaldari created this task.
kaldari added a project: MediaWiki-extensions-WikibaseClient.
Herald added a subscriber: Aklapper.
Herald added a project: Wikidata.

TASK DESCRIPTION

Currently there are lots of templates on English Wikipedia that use infobox code similar to:

{{#if:{{#Property:P17}}|...

... or ...

XYZ = {{#Property:P43356}}

... which works great in most circumstances. However, in cases where a property is set to "no value" (as the snak type), calls to the {{#Property}} parser function actually return the string "no value". This causes "no value" to get output to the Infobox. It would be better if it returned nothing (i.e. an empty string or null value) in these cases, so that #if statements could work properly and "no value" is never output to the user. This should probably be the case for "unknown value" claims as well.


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

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

To: kaldari
Cc: Aklapper, kaldari, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to