Lydia_Pintscher added subscribers: ItamarWMDE, Lydia_Pintscher.
Lydia_Pintscher added a comment.
Restricted Application added a project: User-ItamarWMDE.


  In T335363#8805053 <https://phabricator.wikimedia.org/T335363#8805053>, 
@thiemowmde wrote:
  
  > This is technically correct. The "articles" on wikidata.org actually have 
these titles. An API we can use to implement a special-case for Wikidata 
exists: 
https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbgetentities&format=json&ids=Q42&props=labels%7Cdescriptions&languages=de&languagefallback=1&formatversion=2.
  >
  > Possible questions to ask:
  >
  > [ ] Is this really the best possible API? https://query.wikidata.org/? 
https://www.wikidata.org/wiki/Wikidata:REST_API?
  
  I'm fairly sure that you don't want to use the query service to get the 
labels. Rest API, maybe but it seems to me that using the code that is used 
elsewhere in Wikidata to get the label for a given page name seems best. 
Wondering if @ItamarWMDE 
  has thoughts.
  
  > [ ] How to make the two APIs reliably work together? Note that one works 
with titles but the other with item ids. This is not the same.
  > [ ] We should probably show label **and** description as this is how 
Wikibase is designed (labels are not unique, but label + description is) and 
what users expect.
  
  Is the page name a link? Then I think you could get away without the 
description if you're space-constraint.
  
  > [ ] We should probably enable language fallbacks, right?
  
  I think that'd be what people would expect, yes.
  
  > [ ] Do we need to take care of redirects?
  > [ ] Do we need to work around the problem that the Wikidata APIs usually 
have a limit of 50?
  > [ ] …

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

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

To: Lydia_Pintscher
Cc: Lydia_Pintscher, ItamarWMDE, Lena_WMDE, Ayack, Tacsipacsi, thiemowmde, 
JStrodt_WMDE, Aklapper, mrephabricator, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, 
Gq86, Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to