[Wikidata-bugs] [Maniphest] [Commented On] T167787: [Spike 2hr] Investigate ability for page previews to appear in wikidata

2018-06-29 Thread Jdlrobson
Jdlrobson added a comment.
Can we include the following in Wikidata previews (currently accessible via API calls): the total number of statements; the total number of labels; the total number of external identifiers; and the total number of site links?

Yes. The API will return this information (the patch returns total site links and labels). I'm not sure what "number of external identifiers" is, and whether it's available but if it is available in the api I can also return this. The client however would need to be updated to display this information.

Can we provide Wikidata previews that include Wikidata label and description in the user's preferred language using RESTBase? If so, how?
 Would this be a problem from a performance perspective?

Per https://phabricator.wikimedia.org/T188164#4324348 we'll use an Accept-Language header.

@ovasileva can we close this spike with the above information? I've updated T111231 with what needs to happen to make this happen.TASK DETAILhttps://phabricator.wikimedia.org/T167787EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JdlrobsonCc: PokestarFan, Jdlrobson, GWicke, mobrovac, Pchelolo, Jhernandez, Nirzar, Tbayer, Aklapper, Lydia_Pintscher, phuedx, ovasileva, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Winter, Eevans, Hardikj, Wikidata-bugs, aude, Ricordisamoa, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T167787: [Spike 2hr] Investigate ability for page previews to appear in wikidata

2018-02-23 Thread ovasileva
ovasileva added a comment.

In T167787#3996386, @phuedx wrote:
Perhaps we can remove the language variant part of this and just leave the Wikidata-specific part?


Done.  Left a note on the language just so we can capture the wikidata-specific parts of this as well.TASK DETAILhttps://phabricator.wikimedia.org/T167787EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: ovasilevaCc: PokestarFan, Jdlrobson, GWicke, mobrovac, Pchelolo, Jhernandez, Nirzar, Tbayer, Aklapper, Lydia_Pintscher, phuedx, ovasileva, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Winter, Eevans, Hardikj, Wikidata-bugs, aude, Ricordisamoa, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs