MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"warnings": {
"main": {
"*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application."
},
"expandtemplates": {
"*": "Because \"prop\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
}
},
"expandtemplates": {
"*": "\rServer: hak.wikipedia.org\rNo. of pages: 19,569\rNo. of articles: 10,220\rNo. of edits: 128,328\rNo. of users: 32,987\rNo. of active users: 25\rNo. of group:autopatrolled: 0\rNo. in group:sysop: 1\rNo. in group:bureaucrat: 0\rNo. in group:oversight: 0\rNo. in group:checkuser: 0\rNo. in group:bot: 17"
}
}