[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-11-27 Thread Yurik
Yurik added a comment. @hoo, thanks, I know I can use Lua to get the Wikidata ID, but this means that instead of simply copying one template like this one to all the different wikis, the community would have to copy at least two - the template plus the Lua module, and keep them in sync. Having a

[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-11-27 Thread hoo
hoo added a comment. In T141864#2824042, @Yurik wrote: Is there any progress with this feature? Users would really like to use templates like population history -- where users would just place it on the page, instead of requiring a Lua module to get the ID and use tag expansion into wiki markup.

[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-11-25 Thread Yurik
Yurik added a comment. Is there any progress with this feature? Users would really like to use templates like population history -- where users would just place it on the page, instead of requiring a Lua module to get the ID and use tag expansion into wiki markup.TASK

[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-08-03 Thread Bugreporter
Bugreporter added a comment. For getting item ID from arbitrary page names see also T133498: Any title in wikibase can give its item id to modules (excluding xwiki feature).TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-08-03 Thread Yurik
Yurik added a comment. I think we should do the parser function, not a magic keyword. This way we can expand it to do a page lookup. For example, {{ ENTITYID | United States }} is replaced with Q30. The optional first parameter would be the valid page title, as parsed by the local wiki. This will

[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-08-02 Thread matej_suchanek
matej_suchanek added a comment. Parser functions usually require some parameters. I think a magic word (like {{WBREPONAME}}) fits better. Could be for instance {{ITEMID}} or {{ENTITYID}}.TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T141864: Add parser function for associated wikidata item ID

2016-08-02 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. Ok from my side. Ideas for a name?TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lydia_PintscherCc: Lydia_Pintscher, hoo, Aklapper, Yurik, D3r1ck01, Izno, Wikidata-bugs,