dbarratt created this task.
dbarratt added projects: MediaWiki-extensions-WikibaseRepository, SDC General.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION

Problem
A page response object like this:
https://www.wikidata.org/w/api.php?action="">
the entitiy id is obvious as it's the same as the title.

This response is slightly more complicated
https://www.wikidata.org/w/api.php?action="">
however, it's easy to determine the entity id (the title, sans namespace)

However, a request like this:
https://commons.wikimedia.beta.wmflabs.org/w/api.php?action="">
it can be impossible to know that the entity id is M59928

Solution
Wikibase should add a new property to the page response object that will return an array of embedded entity ids on a page. It should look at each slot to determine if any are wikibase entities and return the ids for those entities. The API should not return related entities (i.e. on Lexemes) since those can be retrieved on the entity endpoints.


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

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

To: dbarratt
Cc: Aklapper, dbarratt, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to