https://bugzilla.wikimedia.org/show_bug.cgi?id=32624
--- Comment #5 from Asher Szmulewicz <[email protected]> 2011-12-29 12:48:30 UTC --- (In reply to comment #4) > Extension:MobileFrontend could provide an API to something like > api.php?action=query&list=mobilecontent I thought adding the parameter useFormat=mobile (to be consistent with extension:mobileFrontend) whenever possible in the api. I am using the following $.getJSON('http://en.wikipedia.org/w/api.php?action=parse&page='+encodeURIComponent(query)+'&prop=text&format=json&callback=?', function(json) { // do stuff }); It would become $.getJSON('http://en.wikipedia.org/w/api.php?action=parse&page='+encodeURIComponent(query)+'&prop=text&format=json&useFormat=mobile&callback=?', function(json) { // do stuff }); -- 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
