Jump to content

Topic on Talk:Requests for comment/Wikidata API

Multiple entities per (Q) page

2
Yurik (talkcontribs)

JeroenDeDauw has mentioned in IRC that it is possible to have multiple entities per mediawiki page in namespace 0. I fail to understand how that is possible based on the fact that the current API returns entities with the same ID as the wiki page name (Q5555). I don't think it is a good idea to even have many entries per one page, but that's a separate issue that might need a separate discussion. Hence, need dev feedback on this. I do understand that query pages (which would be on a non-zero namespace) will contain multiple entities. Query page results should probably work as generators, returning a list of the NS:0 - Q5555 pages.

68.173.73.217 (talkcontribs)

Apparently its a mistake, there is always a one-to-one mapping between a mediawiki page and an entity like a property or an item

Reply to "Multiple entities per (Q) page"