Результат MediaWiki API
Это HTML-представление формата JSON. HTML хорош для отладки, но неудобен для практического применения.
Укажите параметр format для изменения формата вывода. Для отображения не-HTML-представления формата JSON, присвойте format=json.
См. полную документацию или справку API для получения дополнительной информации.
{
"batchcomplete": "",
"query": {
"imageusage": []
}
}{
"error": {
"code": "internal_api_error_Shellbox\\ShellboxError",
"info": "[Z-KnQAnOj4o-nWwnoFIoeAAAAAM] Exception caught: proc_open() failed",
"errorclass": "Shellbox\\ShellboxError",
"*": "Shellbox\\ShellboxError at /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/vendor/wikimedia/shellbox/src/Command/UnboxedExecutor.php(228)\nfrom /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/vendor/wikimedia/shellbox/src/Command/UnboxedExecutor.php(228)\n#0 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/vendor/wikimedia/shellbox/src/Command/LocalBoxedExecutor.php(41): Shellbox\\Command\\UnboxedExecutor->execute(Shellbox\\Command\\BoxedCommand)\n#1 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/vendor/wikimedia/shellbox/src/Command/BoxedExecutor.php(20): Shellbox\\Command\\LocalBoxedExecutor->executeValid(Shellbox\\Command\\BoxedCommand)\n#2 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/vendor/wikimedia/shellbox/src/Command/BoxedCommand.php(183): Shellbox\\Command\\BoxedExecutor->execute(Shellbox\\Command\\BoxedCommand)\n#3 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/extensions/SyntaxHighlight_GeSHi/includes/Pygmentize.php(225): Shellbox\\Command\\BoxedCommand->execute()\n#4 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(267): MediaWiki\\SyntaxHighlight\\Pygmentize::highlight(string, string, array)\n#5 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/libs/objectcache/wancache/WANObjectCache.php(1700): SyntaxHighlight::{closure}(boolean, integer, array, NULL, array)\n#6 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/libs/objectcache/wancache/WANObjectCache.php(1532): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)\n#7 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(273): WANObjectCache->getWithSetCallback(string, integer, Closure)\n#8 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(315): SyntaxHighlight::highlightInner(string, string, array)\n#9 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(542): SyntaxHighlight::highlight(string, string)\n#10 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/HookContainer/HookContainer.php(338): SyntaxHighlight::onApiFormatHighlight(DerivativeContext, string, string, string)\n#11 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/HookContainer/HookContainer.php(137): MediaWiki\\HookContainer\\HookContainer->callLegacyHook(string, array, array, array)\n#12 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/api/ApiHookRunner.php(94): MediaWiki\\HookContainer\\HookContainer->run(string, array)\n#13 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/api/ApiFormatBase.php(295): MediaWiki\\Api\\ApiHookRunner->onApiFormatHighlight(DerivativeContext, string, string, string)\n#14 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/api/ApiMain.php(2135): ApiFormatBase->closePrinter()\n#15 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/api/ApiMain.php(1882): ApiMain->printResult()\n#16 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/api/ApiMain.php(853): ApiMain->executeAction()\n#17 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/includes/api/ApiMain.php(824): ApiMain->executeActionWithErrorHandling()\n#18 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/api.php(90): ApiMain->execute()\n#19 /var/www/ecoby/data/www/rainbow-wiki.ecoby.info/api.php(45): wfApiMain()\n#20 {main}"
}
}