are you talking about the info box ?

From: Ghuron 
Sent: Wednesday, April 18, 2018 2:55 AM
To: [email protected] 
Subject: [Wikidata-bugs] [Maniphest] [Commented On] 
T185313:mw.wikibase.entity:getBacklinks (lua API in wikibase client)

      Ghuron added a comment.  


I'd like to explain another scenario, where this functionality can be useful. 
Ru-wiki infoboxes sometimes add categories to the corresponding articles. 
Sometimes we do this based on wikidata, but we are pretty much limited to a few 
cases, defined in P1465, P1792, P1464 or very special usage of P910 (e.g. if 
astronomical object belongs to some constellation). If I want to automatically 
place categories like Q8454640 to the films, directed by James Marsh, I 
probably would need a designated property. Alternatively I should be able to do 
it via extracting items that has P971:Q2720543 and simultaneously 
P971:Q29017630. This may sound like reinventing SPARQL queries, but getting 
results of getBacklinks(Q2720543) and getBacklinks(Q29017630) and performing 
list intersection in lua would work for me.


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

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

To: Ghuron
Cc: Uzume, Aklapper, Ghuron, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, 
Jayprakash12345, JakeTheDeveloper, QZanden, LawExplorer, Wikidata-bugs, aude, 
TheDJ, Mbch331



--------------------------------------------------------------------------------
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to