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

2017-04-30 Thread matej_suchanek
matej_suchanek added subscribers: Nirmos, Ainali.matej_suchanek merged a task: T162105: Add wikitext variable for a page's Wikibase qid.
TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Ainali, Nirmos, Bugreporter, Zppix, Steenth, Metalindustrien, Sjoerddebruin, matej_suchanek, Lydia_Pintscher, hoo, Aklapper, Yurik, QZanden, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


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

2016-08-04 Thread hoo
hoo added a comment.

In T141864#2515389, @matej_suchanek wrote:
[…] Could be for instance {{ITEMID}} or {{ENTITYID}}.


Both sound ok to me, maybe I lean a little towards itemid. A more verbose form like wikibase-itemid probably doesn't make to much sense, does it?


In T141864#2518182, @Yurik wrote:
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 also allow us to easily do {{ ENTITYID | en:United States }} in another Wikipedia language, and still get Q30.


This would probably require T142093: [RfC] Decide how to do usage tracking for strings used to lookup entities (page titles, external ids, …) to be implemented. We could probably start with a parser function that doesn't take any arguments and then extend upon that, if we can/ want to.TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: Bugreporter, Zppix, Steenth, Metalindustrien, Sjoerddebruin, matej_suchanek, Lydia_Pintscher, hoo, Aklapper, Yurik, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] 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 PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Bugreporter, Zppix, Steenth, Metalindustrien, Sjoerddebruin, matej_suchanek, Lydia_Pintscher, hoo, Aklapper, Yurik, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


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

2016-08-03 Thread Bugreporter
Bugreporter added subscribers: Sjoerddebruin, Metalindustrien, Steenth, Zppix.Bugreporter merged a task: T140796: Create magic word that gives ID of connected item.
TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Zppix, Steenth, Metalindustrien, Sjoerddebruin, matej_suchanek, Lydia_Pintscher, hoo, Aklapper, Yurik, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


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

2016-08-02 Thread hoo
hoo added a subscriber: Lydia_Pintscher.hoo edited projects, added MediaWiki-extensions-WikibaseClient, Wikidata; removed MediaWiki-extensions-ParserFunctions.
TASK DETAILhttps://phabricator.wikimedia.org/T141864EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: Lydia_Pintscher, hoo, Aklapper, Yurik, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs