query pageID with mobilefrontend

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

query pageID with mobilefrontend

Luigi Assom
Hi,

i'd like to extract paragraph of articles already formatted, so to apply an accordion on the content.

Is it possible to query the ID of the page like with action=mobileview?
in the same way of action=query&pageids=7955 ??

thank you,
Luigi

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: query pageID with mobilefrontend

Sam Smith
Hi Luigi,

Is it possible to query the ID of the page like with action=mobileview?

No, unfortunately. AFAIK action=mobileview accepts only the 'page' parameter, which can only be the title of one page.

-Sam




On Tue, Aug 18, 2015 at 5:12 PM, Luigi Assom <[hidden email]> wrote:
Hi,

i'd like to extract paragraph of articles already formatted, so to apply an accordion on the content.

Is it possible to query the ID of the page like with action=mobileview?
in the same way of action=query&pageids=7955 ??

thank you,
Luigi

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api



_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api