Addshore added a comment.

  • The titles parameter no longer requires sites to be set, if it's not, we assume the titles correspond to local page/entity pairs

Yep, we can either do this or add a separate parameter for looking on the local site called "localtitle" for example.
I haven't put much thought into which would be a cleaner implementation both internally and for external users though.

  • Connect file pages to MediaInfo entities like Wikidata pages are currently connected to remote pages (unclear how this works currently)

So, this point sounds a bit misleading, as it sounds like MediaInfo entities will have a sitelink to a file page (or something).
To me the MediaInfo entity is the file page, they are the same entity.
As @thiemowmde says, we will need some sort of MediaInfo aware EntityTitleLookup, but that is all internal.

  • Also somehow connect up the titles parameter with the ids parameter so you can use e.g. Q42 in both to pull the same entity, or Property:P4 in titles instead of P4 in ids

So this as I see it would be the target base implementation with wbgetentities, allowing you to pass title=Q42 or title=Property:P4 and it still return the correct entity.
The next step would then be allowing the MediaInfo extension to extend this and add ways in which to lookup entities by title (EntityTitleLookups)


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

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

To: MarkTraceur, Addshore
Cc: Aleksey_WMDE, thiemowmde, Lydia_Pintscher, Addshore, gerritbot, Cparle, MBinder_WMF, Ramsey-WMF, Aklapper, MarkTraceur, E1presidente, Jmmuguerza, SandraF_WMF, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Acer, V4switch, Lewizho99, Maathavan, Susannaanas, Izno, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Bawolff, Ricordisamoa, Fabrice_Florin, Raymond, Matanya, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to