MediaWiki API 帮助
这是自动生成的MediaWiki Action API文档页面。
action=wikiforum-delete-thread
(main | wikiforum-delete-thread)
- 此模块需要读取权限。
- 此模块需要写入权限。
- 此模块只允许POST请求。
- 来源:WikiForum
- 许可协议:GPL-3.0-or-later
Delete a WikiForum thread or reply
具体参数:
其他通用参数可用。
- id
ID of the thread or reply to delete
- 这个参数是必需的。
- 类型:整数
- isreply
Whether the item to delete is a reply (true) or a thread (false)
- 类型:布尔型 (详情)
- token
从action=query&meta=tokens取回的“csrf”令牌
- 这个参数是必需的。
例子:
- Delete the thread with the ID #123
- api.php?action=wikiforum-delete-thread&id=123 [在沙盒中打开]
- Delete the reply with the ID #456
- api.php?action=wikiforum-delete-thread&isreply=true&id=456 [在沙盒中打开]