미디어위키 API 결과
이것은 JSON 형식의 HTML 표현입니다. HTML은 디버깅에 적합하지만 응용 프로그램 사용에는 적합하지 않습니다.
출력 형식을 변경하려면 format 매개변수를 지정하십시오. JSON 형식의 비 HTML 표현을 보려면 format=json를 설정하십시오.
{
"error": {
"code": "internal_api_error_Wikimedia\\Assert\\PreconditionException",
"info": "[1326f39f2c6cb777570384c5] Exception caught: Precondition failed: This Title instance does not represent a proper page, but merely a link target.",
"errorclass": "Wikimedia\\Assert\\PreconditionException",
"*": "Wikimedia\\Assert\\PreconditionException at /volume2/web/mediawiki/vendor/wikimedia/assert/src/Assert.php(49)\nfrom /volume2/web/mediawiki/vendor/wikimedia/assert/src/Assert.php(49)\n#0 /volume2/web/mediawiki/includes/title/Title.php(3889): Wikimedia\\Assert\\Assert::precondition(boolean, string)\n#1 /volume2/web/mediawiki/includes/title/Title.php(3872): MediaWiki\\Title\\Title->assertProperPage()\n#2 /volume2/web/mediawiki/includes/Revision/RevisionStore.php(1830): MediaWiki\\Title\\Title->getId(boolean)\n#3 /volume2/web/mediawiki/includes/Revision/RevisionStore.php(1735): MediaWiki\\Revision\\RevisionStore->ensureRevisionRowMatchesPage(stdClass, MediaWiki\\Title\\Title)\n#4 /volume2/web/mediawiki/includes/Revision/RevisionStore.php(1613): MediaWiki\\Revision\\RevisionStore->newRevisionFromRowAndSlots(stdClass, NULL, integer, MediaWiki\\Title\\Title, boolean)\n#5 /volume2/web/mediawiki/includes/api/ApiFeedContributions.php(221): MediaWiki\\Revision\\RevisionStore->newRevisionFromRow(stdClass, integer, MediaWiki\\Title\\Title)\n#6 /volume2/web/mediawiki/includes/api/ApiFeedContributions.php(190): ApiFeedContributions->feedItem(stdClass)\n#7 /volume2/web/mediawiki/includes/api/ApiMain.php(1946): ApiFeedContributions->execute()\n#8 /volume2/web/mediawiki/includes/api/ApiMain.php(922): ApiMain->executeAction()\n#9 /volume2/web/mediawiki/includes/api/ApiMain.php(893): ApiMain->executeActionWithErrorHandling()\n#10 /volume2/web/mediawiki/includes/api/ApiEntryPoint.php(158): ApiMain->execute()\n#11 /volume2/web/mediawiki/includes/MediaWikiEntryPoint.php(199): MediaWiki\\Api\\ApiEntryPoint->execute()\n#12 /volume2/web/mediawiki/api.php(44): MediaWiki\\MediaWikiEntryPoint->run()\n#13 {main}"
}
}