MediaWiki API 帮助
这是自动生成的MediaWiki API文档页面。
文档和例子:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=settitles
(main | collection | settitles)
- 此模块需要读取权限。
- 来源:Collection
- 许可协议:GPL-2.0-or-later
API module for setting the collection's title, subtitle, and settings
具体参数:
其他通用参数可用。
- title
Title of the collection
- 这个参数是必需的。
- subtitle
Subtitle of the collection
- 默认:(空)
- settings
Settings for the collection
- 默认:(空)
例子:
- Set the collection's title and subtitle
- api.php?action=collection&submodule=settitles&title=foo&subtitle=bar [在沙盒中打开]
- Set the collection's title, subtitle, and settings
- api.php?action=collection&submodule=settitles&title=foo&subtitle=bar&settings={"papersize":"a4","toc":"auto","columns":"2"} [在沙盒中打开]