On Wed, Nov 23, 2011 at 4:54 PM, Asher Szmulewicz
<asher.szmulew...@gmail.com> wrote:
> Hi All,
> Will the useformat=mobile be supported by MediaWiki API where appropriate?
> I am able to do the following for non mobile content
> $.getJSON('http://en.wikipedia.org/w/api.php?action=parse&page='+encodeURIComponent(query)+'&prop=text&format=json&callback=?',
> function(json) {
> // do stuff
> });
> It would be nice if adding the parameter useformat=mobile would get the json
> object of the mobile page content
> likeĀ http://en.wikipedia.org/wiki/Main_Page?useformat=mobile&format=json
> but this link returns a file containing a json object of the page content
useformat=mobile is provided by the MobileFrontend extension. If you
would like to have API support for it, please file an enhancement
request against MobileFrontend at https://bugzilla.wikimedia.org/ .

Roan

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to