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.wiktionary.org\rNo. of pages: 2,240,682\rNo. of articles: 1,631,945\rNo. of edits: 8,346,998\rNo. of users: 119,693\rNo. of active users: 74\rNo. of group:autopatrolled: 0\rNo. in group:sysop: 10\rNo. in group:bureaucrat: 0\rNo. in group:oversight: 0\rNo. in group:checkuser: 0\rNo. in group:bot: 12"
}
}