[Wikidata-bugs] [Maniphest] [Updated] T224678: Feature request: ability to include labels for related entities in wbgetentities responses

2019-08-21 Thread alaa_wmde
alaa_wmde added a project: User-Alaa.

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

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

To: alaa_wmde
Cc: MarkTraceur, Charlotte, alaa_wmde, Mholloway, Aklapper, JoeWalsh, 
darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, Sharvaniharan, schoenbaechler, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, 
aude, Dbrant, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T224678: Feature request: ability to include labels for related entities in wbgetentities responses

2019-06-06 Thread JoeWalsh
JoeWalsh added a subscriber: MarkTraceur.
JoeWalsh added a comment.


  @alaa_wmde thanks for the response. A separate endpoint like 
`wbgetentitiesfordisplay` would also be a good solution, doesn't need to be a 
parameter on `wbgetentities`. Added other answers inline below.
  
  > how many use-cases are there where wbgetentities response is used directly 
to display labels of linked/related entities, requiring a second request to get 
those labels?
  
  The use case is displaying image metadata from the structured data on 
commons. The image metadata would be displayed in the image gallery view on 
articles. It would also be displayed in an "edit suggestions" feature that 
allows users to discover and edit images that need structured data or 
translations of structured data. I'm not aware of other use cases at the 
moment, but will provide them here if I come across any more.
  
  > how big (nr. of entities) is a typical second request to get labels of 
linked/related entities?
  
  Currently, it'd be one entity lookup for each statement plus any entities 
referenced within the statements. These numbers will increase as new statements 
are added to images for other pieces of metadata, likely settling somewhere in 
the range of 10-20 entities per item (estimate from @marktraceur based on this 
statistic from wikidata 
).
 It's possible that these requests would also be batched for all the commons 
images in a given article, which would multiply that 10-20 number by the 
average number of images in an article.
  
  > how complicated does the second request make the client dealing with it?
  
  It's not that complicated for the clients to make two requests, but the 
bigger downside is having to make two network requests that can't be 
parallelized.
  
  > is the second request a complete blocker in any of those use-cases?
  
  It's not a complete blocker, but would slow down results due to the 
additional network round trip.
  
  > any useful links to existing tasks of work-arounds for or discussions of 
this issue in other projects?
  
  Suggested edit feature that will show the image metadata: T224051 

  New image metadata screen: T223132 
 
  Current middleware request to support these features: T224132 

  
  Let me know if you have any other questions. Thanks!

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

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

To: alaa_wmde, JoeWalsh
Cc: MarkTraceur, Charlotte, alaa_wmde, Mholloway, Aklapper, JoeWalsh, 
darthmon_wmde, Premeditated, Nandana, Lahi, Gq86, Sharvaniharan, 
schoenbaechler, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, _jensen, 
rosalieper, Wikidata-bugs, aude, Dbrant, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T224678: Feature request: ability to include labels for related entities in wbgetentities responses

2019-05-31 Thread Charlotte
Charlotte added a project: Wikipedia-Android-App-Backlog.

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

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

To: Charlotte
Cc: Mholloway, Aklapper, JoeWalsh, darthmon_wmde, Premeditated, Nandana, Lahi, 
Gq86, Sharvaniharan, schoenbaechler, GoranSMilovanovic, QZanden, cmadeo, 
LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Dbrant, Jdforrester-WMF, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T224678: Feature request: ability to include labels for related entities in wbgetentities responses

2019-05-30 Thread Mholloway
Mholloway added a project: Reading-Infrastructure-Team-Backlog.

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

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

To: Mholloway
Cc: Mholloway, Aklapper, JoeWalsh, darthmon_wmde, Premeditated, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs