MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"aicontinue": "Cop.gif",
"continue": "-||"
},
"query": {
"allimages": [
{
"name": "Battler-1sg.png",
"timestamp": "2011-02-17T13:30:29Z",
"url": "https://nedftp.com/wiki/images/e/e6/Battler-1sg.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Battler-1sg.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=95",
"ns": 6,
"title": "\u6a94\u6848:Battler-1sg.png"
},
{
"name": "Beato1.png",
"timestamp": "2011-02-17T12:54:54Z",
"url": "https://nedftp.com/wiki/images/4/4b/Beato1.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beato1.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=92",
"ns": 6,
"title": "\u6a94\u6848:Beato1.png"
},
{
"name": "Beato2.png",
"timestamp": "2011-03-05T08:27:00Z",
"url": "https://nedftp.com/wiki/images/0/0a/Beato2.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beato2.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=112",
"ns": 6,
"title": "\u6a94\u6848:Beato2.png"
},
{
"name": "Beato3.png",
"timestamp": "2011-02-17T15:07:55Z",
"url": "https://nedftp.com/wiki/images/1/1e/Beato3.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beato3.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=99",
"ns": 6,
"title": "\u6a94\u6848:Beato3.png"
},
{
"name": "Beato4.png",
"timestamp": "2011-02-17T13:32:48Z",
"url": "https://nedftp.com/wiki/images/e/ea/Beato4.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beato4.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=96",
"ns": 6,
"title": "\u6a94\u6848:Beato4.png"
},
{
"name": "Beato8-s.png",
"timestamp": "2011-02-17T13:05:32Z",
"url": "https://nedftp.com/wiki/images/c/cc/Beato8-s.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beato8-s.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=93",
"ns": 6,
"title": "\u6a94\u6848:Beato8-s.png"
},
{
"name": "Beato9.png",
"timestamp": "2011-02-21T15:28:03Z",
"url": "https://nedftp.com/wiki/images/9/99/Beato9.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beato9.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=103",
"ns": 6,
"title": "\u6a94\u6848:Beato9.png"
},
{
"name": "Bigfont.png",
"timestamp": "2012-12-01T10:23:11Z",
"url": "https://nedftp.com/wiki/images/8/85/Bigfont.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Bigfont.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=471",
"ns": 6,
"title": "\u6a94\u6848:Bigfont.png"
},
{
"name": "Build8.png",
"timestamp": "2012-10-20T15:51:52Z",
"url": "https://nedftp.com/wiki/images/e/e2/Build8.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Build8.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=446",
"ns": 6,
"title": "\u6a94\u6848:Build8.png"
},
{
"name": "Cond.png",
"timestamp": "2012-10-19T07:21:47Z",
"url": "https://nedftp.com/wiki/images/f/f7/Cond.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Cond.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=441",
"ns": 6,
"title": "\u6a94\u6848:Cond.png"
}
]
}
}{
"error": {
"code": "internal_api_error_LogicException",
"info": "[0fcfcb04cc294d34d31e5758] Exception caught: Process cache for 'zh-tw' should be set by now.",
"errorclass": "LogicException",
"*": "LogicException at /var/www/html/wiki/includes/cache/MessageCache.php(413)\nfrom /var/www/html/wiki/includes/cache/MessageCache.php(413)\n#0 /var/www/html/wiki/includes/cache/MessageCache.php(1115): MessageCache->load(string)\n#1 /var/www/html/wiki/includes/cache/MessageCache.php(1043): MessageCache->getMsgFromNamespace(string, string)\n#2 /var/www/html/wiki/includes/cache/MessageCache.php(1014): MessageCache->getMessageForLang(LanguageZh_hans, string, boolean, array)\n#3 /var/www/html/wiki/includes/cache/MessageCache.php(956): MessageCache->getMessageFromFallbackChain(LanguageZh_hans, string, boolean)\n#4 /var/www/html/wiki/includes/language/Message.php(1395): MessageCache->get(string, boolean, LanguageZh_hans)\n#5 /var/www/html/wiki/includes/language/Message.php(919): Message->fetchMessage()\n#6 /var/www/html/wiki/includes/language/Message.php(1009): Message->format(string)\n#7 /var/www/html/wiki/includes/OutputPage.php(982): Message->text()\n#8 /var/www/html/wiki/includes/api/ApiFormatBase.php(258): OutputPage->setPageTitle(Message)\n#9 /var/www/html/wiki/includes/api/ApiMain.php(2135): ApiFormatBase->closePrinter()\n#10 /var/www/html/wiki/includes/api/ApiMain.php(1882): ApiMain->printResult()\n#11 /var/www/html/wiki/includes/api/ApiMain.php(853): ApiMain->executeAction()\n#12 /var/www/html/wiki/includes/api/ApiMain.php(824): ApiMain->executeActionWithErrorHandling()\n#13 /var/www/html/wiki/api.php(90): ApiMain->execute()\n#14 /var/www/html/wiki/api.php(45): wfApiMain()\n#15 {main}"
}
}