Thanks Jon,
Next in WikidataPageBanner would be an api module to query banner related
properties easily using something like "?action=query...".
Any suggestions/discussions are most welcome on
- Sumit
On Fri, Dec 4, 2015 at 11:22 PM, Jon Robson <jrobson(a)wikimedia.org> wrote:
and cc. Sumit who has made all of this awesome stuff
happen (not sure
if he's on the mailing list - hopefully he will join if not :-))
On Fri, Dec 4, 2015 at 9:44 AM, Dmitry Brant <dbrant(a)wikimedia.org> wrote:
Wow! Very cool.
On Fri, Dec 4, 2015 at 12:42 PM, Jon Robson <jrobson(a)wikimedia.org>
wrote:
>
> Thanks to Sumit's latest change you can now access focus area and
> image directly from the API in pageprops [1].
>
> The image comes from editor, if not present Wikidata and soon (if
> someone merges it) from PageImages [2].
>
> Currently this is only deployed on WIkivoyage but by deploying the
> extension on Wikipedia and disabling article rendering you could use
> the API for the app.
>
> Currently updating the origin x and origin y values with the API is
> not easy and as nice as it could be but it is potentially doable by
> editing the entire page and using some clever regexps.
>
> Something to think about!
>
> [1]
>
http://en.wikipedia.beta.wmflabs.org/wiki/Special:ApiSandbox#action=query&a…
[2]
https://gerrit.wikimedia.org/r/#/c/239010/
_______________________________________________
Mobile-l mailing list
Mobile-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l
--
Dmitry Brant
Mobile Apps Team (Android)
Wikimedia Foundation
https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering