Hi Max, I am using the old api. I went to your link [1] to test the new api in the Sandbox. I am getting errors even for the examples like candlemass url: /w/api.php?action=mobileview&format=json&page=Candlemass§ions=0%7Creferences see result below. Is there a problem with the sandbox or with the api? Regards Asher Szmulewicz
{ "servedby": "mw64", "error": { "code": "unknownerror", "info": "Unknown error: "missingtitle"" } }
On Thu, Nov 15, 2012 at 6:48 PM, Max Semenik maxsem.wiki@gmail.com wrote:
Hi, people!
As you may already know, we've had API for retrieving mobile-friendly page HTML for several months now.[1][2] Because it is much more feature-rich and fast, we are finally deprecating the old, ad-hoc API that provided a JSON-encoded page text for URLs like[3]
The old API was removed from documentation some time ago, and our logging indicates that the few hits it receives are from our old iPhone app.
Therefore, to avoid maintaining old kludges forever, we decided to completely deprecate the old API in one month from now. The date the switch will be flipped on WMF is tentatively set to December 11. The old app users will soon start receiving a warning urging them to upgrade. If you are using or planning to use the old API in your code, please upgrade it to use action=mobileview.
[1] https://www.mediawiki.org/wiki/Special:ApiSandbox#action=mobileview [2] https://www.mediawiki.org/wiki/Special:ApiSandbox#action=parse with mobileformat parameter set [3] https://en.m.wikipedia.org/wiki/Article_name?useformat=mobile&format=jso...
-- Best regards, Max Semenik ([[User:MaxSem]])
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api