Last modified: 2014-05-16 13:12:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66047, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64047 - Special:ApiSandbox is broken on wikidata.org
Special:ApiSandbox is broken on wikidata.org
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ApiSandbox (Other open bugs)
master
All All
: Unprioritized blocker (vote)
: ---
Assigned To: Thiemo Mättig
https://www.wikidata.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-17 09:39 UTC by Thiemo Mättig
Modified: 2014-05-16 13:12 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Thiemo Mättig 2014-04-17 09:39:52 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.
Comment 1 Addshore 2014-04-17 10:01:15 UTC
Just took a look at this.
Looks like the following commit broke it
https://github.com/wikimedia/mediawiki-extensions-ApiSandbox/commit/8d79ce5501d33b6a87e24287d9a0c705c8d15c0e
Comment 2 Gerrit Notification Bot 2014-04-17 10:02:00 UTC
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
Comment 3 Gerrit Notification Bot 2014-04-17 10:08:16 UTC
Change 126942 merged by jenkins-bot:
ApiSandbox broken because of undefined variable

https://gerrit.wikimedia.org/r/126942
Comment 4 Gerrit Notification Bot 2014-04-17 17:54:29 UTC
Change 127017 had a related patch set uploaded by MaxSem:
ApiSandbox broken because of undefined variable

https://gerrit.wikimedia.org/r/127017
Comment 5 Gerrit Notification Bot 2014-04-17 17:54:56 UTC
Change 127017 merged by jenkins-bot:
ApiSandbox broken because of undefined variable

https://gerrit.wikimedia.org/r/127017

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links