https://bugzilla.wikimedia.org/show_bug.cgi?id=32624
Web browser: ---
Bug #: 32624
Summary: API support for useformat=mobile
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: MobileFrontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Copying request from the mediawiki-api list. Tried to get the reporter to
report this themselves, but apparently the restrictions put in place after the
spam attack prevented that.
http://lists.wikimedia.org/pipermail/mediawiki-api/2011-November/002431.html
================================
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
Regards,
Asher Szmulewicz
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l