MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"error": {
"code": "internal_api_error_DBQueryError",
"info": "[af63WjoOi31XQED0JrY2uQAFWBY] Exception caught: A database query error has occurred. This may indicate a bug in the software.",
"errorclass": "Wikimedia\\Rdbms\\DBQueryError",
"*": "Wikimedia\\Rdbms\\DBQueryError at /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/Database.php(1225)\nfrom /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/Database.php(1225)\n#0 /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/Database.php(1209): Wikimedia\\Rdbms\\Database->getQueryException()\n#1 /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/Database.php(1183): Wikimedia\\Rdbms\\Database->getQueryExceptionAndLog()\n#2 /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/Database.php(640): Wikimedia\\Rdbms\\Database->reportQueryError()\n#3 /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/Database.php(1363): Wikimedia\\Rdbms\\Database->query()\n#4 /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/DBConnRef.php(127): Wikimedia\\Rdbms\\Database->select()\n#5 /home/sttymcml/public_html/wiki/includes/libs/rdbms/database/DBConnRef.php(384): Wikimedia\\Rdbms\\DBConnRef->__call()\n#6 /home/sttymcml/public_html/wiki/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php(761): Wikimedia\\Rdbms\\DBConnRef->select()\n#7 /home/sttymcml/public_html/wiki/includes/api/ApiQueryBase.php(449): Wikimedia\\Rdbms\\SelectQueryBuilder->fetchResultSet()\n#8 /home/sttymcml/public_html/wiki/includes/api/ApiQueryBacklinks.php(198): MediaWiki\\Api\\ApiQueryBase->select()\n#9 /home/sttymcml/public_html/wiki/includes/api/ApiQueryBacklinks.php(470): MediaWiki\\Api\\ApiQueryBacklinks->runFirstQuery()\n#10 /home/sttymcml/public_html/wiki/includes/api/ApiQueryBacklinks.php(127): MediaWiki\\Api\\ApiQueryBacklinks->run()\n#11 /home/sttymcml/public_html/wiki/includes/api/ApiQuery.php(729): MediaWiki\\Api\\ApiQueryBacklinks->execute()\n#12 /home/sttymcml/public_html/wiki/includes/api/ApiMain.php(2039): MediaWiki\\Api\\ApiQuery->execute()\n#13 /home/sttymcml/public_html/wiki/includes/api/ApiMain.php(947): MediaWiki\\Api\\ApiMain->executeAction()\n#14 /home/sttymcml/public_html/wiki/includes/api/ApiMain.php(918): MediaWiki\\Api\\ApiMain->executeActionWithErrorHandling()\n#15 /home/sttymcml/public_html/wiki/includes/api/ApiEntryPoint.php(138): MediaWiki\\Api\\ApiMain->execute()\n#16 /home/sttymcml/public_html/wiki/includes/MediaWikiEntryPoint.php(184): MediaWiki\\Api\\ApiEntryPoint->execute()\n#17 /home/sttymcml/public_html/wiki/api.php(30): MediaWiki\\MediaWikiEntryPoint->run()\n#18 {main}"
}
}