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: zh.wikibooks.org\rNo. of pages: 19,045\rNo. of articles: 3,688\rNo. of edits: 175,317\rNo. of users: 65,141\rNo. of active users: 87\rNo. of group:autopatrolled: 0\rNo. in group:sysop: 9\rNo. in group:bureaucrat: 0\rNo. in group:oversight: 0\rNo. in group:checkuser: 0\rNo. in group:bot: 5"
}
}