Wow! Very cool.
On Fri, Dec 4, 2015 at 12:42 PM, Jon Robson <[email protected]> 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&prop=pageprops&format=json&titles=WikidataPageBanner_example_1 > [2] https://gerrit.wikimedia.org/r/#/c/239010/ > > _______________________________________________ > Mobile-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mobile-l > -- Dmitry Brant Mobile Apps Team (Android) Wikimedia Foundation https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering
_______________________________________________ Mobile-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mobile-l
