|This extension is obsolete!
It has been replaced by core functionality in the MediaWiki software (which was added in version 1.27).
This extension has been merged into MediaWiki core as of gerrit:209570. Wikis running or upgrading to 1.27 should uninstall this extension.
Release status: stable
|Description||MediaWiki API playground|
|Author(s)||Max Semenik (MaxSemtalk)|
|MediaWiki||1.18 (r87334 or later)|
Translate the ApiSandbox extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
|Open tasks · Report a bug|
On a wiki with ApiSandbox installed, go to Special:ApiSandbox. Choose action, format and other parameters. The sandbox displays interactive help for every request parameter. Then click the "Make request" button. ApiSandbox makes the request to api.php on your behalf and displays the result below in the format you chose. You can copy the request URL (and POST data, if needed) for reuse.
You can preload ApiSandbox form parameters by putting the query string to api.php in the URL fragment, for example the query /w/api.php?action=languagesearch&search=Maratih&typos=1 becomes Special:ApiSandbox#action=languagesearch&format=json&search=Maratih&typos=1.
Note that, despite it being called a sandbox, any write requests performed with this extension will modify the wiki.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'ApiSandbox' );
- Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|
Navigate to Special:ApiSandbox