The new api parameters (already live) uses action=mobileview: offset & maxlen.

http://en.wikipedia.org/w/api.php?action=mobileview&format=jsonfm&prop=text|sections|normalizedtitle&sectionprop=toclevel|line|number&sections=references&page=Batman&offset=100&maxlen=300


On Tue, Jun 25, 2013 at 2:03 PM, Dan Foy <dfoy@wikimedia.org> wrote:
- Adding Yuri

Yuri just made a change to support a request from OpenPath to be able to limit the amount of data loaded at any one time.

Yuri, can you provide the specific action that OpenPath is using?

Thanks,
Dan



On Tue, Jun 25, 2013 at 9:35 AM, Tomasz Finc <tfinc@wikimedia.org> wrote:
On Tue, Jun 25, 2013 at 3:00 AM, Max Semenik <maxsem.wiki@gmail.com> wrote:
>> Max, do you know if the Wikipedia J2ME app depends on WML output from
>> the API? If so then we'll need to plan a transition plan for them.
>
> AFAIK, they use action=mobileview (HTML-only) which allows much more granularity
> in what gets returned and how much of it.

Dan, can you confirm how the J2ME app is pulling content?

--tomasz



--
Dan Foy
Technical Manager, Mobile Partnerships
Wikimedia Foundation