Last modified: 2014-08-14 22:21:54 UTC
The API in general for some reason loves to give you the least amount of information possible. To me this is silly and increases the learning curve to using it and it is a trend we should move away from (. The url to request all the mobile information about a page is currently: /w/api.php?format=json&action=mobileview&page=Foo&variant=en&redirect=yes&prop=id%7Csections%7Ctext%7Clastmodified%7Clastmodifiedby%7Clanguagecount%7Chasvariants%7Cprotection&noheadings=yes§ionprop=level%7Cline%7Canchor§ions=all I propose that we just make all these arguments the default unless overridden. e.g. construct a more pretty query like: /w/api.php?format=json&action=mobileview&page=Foo if you just want the id prop you do: /w/api.php?format=json&action=mobileview&page=Foo&prop=id
We should do this, but use a different action= name (backwards compatibility and all)
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1654