hoo created this task.
hoo added projects: Wikidata, MediaWiki-extensions-WikibaseClient.

TASK DESCRIPTION

We currently have mw.wikibase.renderSnak and mw.wikibase.renderSnaks which render a Snak/ Snaks to Wikitext escaped plain text.

We also want to provide such functions that emit rich wikitext, so that for example qualifiers and references can easily be formatted. Similar to what we did with the new mw.wikibase.entity:formatStatements, we need to create new functions for this, with a new name.

I suggest to name these mw.wikibase.formatValue/ mw.wikibase.formatValues or mw.wikibase.formatSnak/mw.wikibase.formatSnaks. The first one has the advantage that it doesn't contain Snak (a term we don't want to expose).


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

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

To: hoo
Cc: Aklapper, Lydia_Pintscher, daniel, aude, Lucie, thiemowmde, gerritbot, TomT0m, hoo, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to