Last modified: 2014-05-16 13:12:01 UTC
Example URL: https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbparsevalue&format=dump&parser=time&values=1 The loading spinner never stops. With the inspection tools I see there was a response that does have the correct answer in it but it doesn't show up. <!DOCTYPE HTML> <html> <head> <title>MediaWiki API Result</title> </head> <body> <br /> <small> You are looking at the HTML representation of the DUMP format.<br /> HTML is good for debugging, but is unsuitable for application use.<br /> Specify the format parameter to change the output format.<br /> To see the non HTML representation of the DUMP format, set format=dump.<br /> See the <a href='https://www.mediawiki.org/wiki/API'>complete documentation</a>, or <a href='/w/api.php'>API help</a> for more information. </small> <pre style='white-space: pre-wrap;'> ... My local installation doesn't have this problem. There are two bugs here: 1. Even if the API returns strange HTML the loading spinner should stop and show it as it is. 2. The API returns strange HTML.
Just took a look at this. Looks like the following commit broke it https://github.com/wikimedia/mediawiki-extensions-ApiSandbox/commit/8d79ce5501d33b6a87e24287d9a0c705c8d15c0e
Change 126942 had a related patch set uploaded by Thiemo Mättig (WMDE): ApiSandbox broken because of undefined variable https://gerrit.wikimedia.org/r/126942
Change 126942 merged by jenkins-bot: ApiSandbox broken because of undefined variable https://gerrit.wikimedia.org/r/126942
Change 127017 had a related patch set uploaded by MaxSem: ApiSandbox broken because of undefined variable https://gerrit.wikimedia.org/r/127017
Change 127017 merged by jenkins-bot: ApiSandbox broken because of undefined variable https://gerrit.wikimedia.org/r/127017