MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"aicontinue": "Beato2.png",
"continue": "-||"
},
"query": {
"allimages": [
{
"name": "00.png",
"timestamp": "2011-11-12T12:31:01Z",
"url": "https://nedftp.com/wiki/images/b/b2/00.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:00.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=248",
"ns": 6,
"title": "\u6a94\u6848:00.png"
},
{
"name": "01.png",
"timestamp": "2011-11-12T12:30:55Z",
"url": "https://nedftp.com/wiki/images/f/fe/01.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:01.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=243",
"ns": 6,
"title": "\u6a94\u6848:01.png"
},
{
"name": "19.png",
"timestamp": "2011-08-03T14:05:29Z",
"url": "https://nedftp.com/wiki/images/b/ba/19.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:19.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=186",
"ns": 6,
"title": "\u6a94\u6848:19.png"
},
{
"name": "20.png",
"timestamp": "2011-11-12T12:30:56Z",
"url": "https://nedftp.com/wiki/images/0/07/20.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:20.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=244",
"ns": 6,
"title": "\u6a94\u6848:20.png"
},
{
"name": "26_0.png",
"timestamp": "2011-11-12T12:30:57Z",
"url": "https://nedftp.com/wiki/images/6/6e/26_0.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:26_0.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=245",
"ns": 6,
"title": "\u6a94\u6848:26 0.png"
},
{
"name": "48px-Crystal_Clear_action_button_cancel.png",
"timestamp": "2012-08-18T10:57:44Z",
"url": "https://nedftp.com/wiki/images/3/33/48px-Crystal_Clear_action_button_cancel.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:48px-Crystal_Clear_action_button_cancel.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=412",
"ns": 6,
"title": "\u6a94\u6848:48px-Crystal Clear action button cancel.png"
},
{
"name": "85px-Munch_The_Scream_lithography.png",
"timestamp": "2014-02-20T15:40:21Z",
"url": "https://nedftp.com/wiki/images/f/f3/85px-Munch_The_Scream_lithography.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:85px-Munch_The_Scream_lithography.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=689",
"ns": 6,
"title": "\u6a94\u6848:85px-Munch The Scream lithography.png"
},
{
"name": "Ange14789.png",
"timestamp": "2013-08-20T14:43:46Z",
"url": "https://nedftp.com/wiki/images/f/f7/Ange14789.png",
"descriptionurl": "https://nedftp.com/wiki/index.php?title=%E6%AA%94%E6%A1%88:Ange14789.png",
"descriptionshorturl": "https://nedftp.com/wiki/index.php?curid=580",
"ns": 6,
"title": "\u6a94\u6848:Ange14789.png"
},
{
"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"
}
]
}
}{
"error": {
"code": "internal_api_error_LogicException",
"info": "[6840e92a2588e98995eacf11] 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}"
}
}