MediaWiki API 帮助
这是自动生成的MediaWiki API文档页面。
文档和例子:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wikiforum-admin-delete
(main | wikiforum-admin-delete)
- 此模块需要读取权限。
- 此模块需要写入权限。
- 此模块只允许POST请求。
- 来源:WikiForum
- 许可协议:GPL-3.0-or-later
Delete a forum category or forum
具体参数:
其他通用参数可用。
- id
ID of the thing to be deleted
- 这个参数是必需的。
- 类型:整数
- iscategory
Is the thing about to be deleted a forum category?
- 类型:布尔型 (详情)
- token
从action=query&meta=tokens取回的“csrf”令牌
- 这个参数是必需的。
例子:
- Delete the category with the ID #32
- api.php?action=wikiforum-admin-delete&iscategory=true&id=32 [在沙盒中打开]