MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=settitles
(main | collection | settitles)
- This module requires read rights.
- Source: Collection
- License: GPL-2.0-or-later
API module for setting the collection's title, subtitle, and settings
Specific parameters:
Other general parameters are available.
- title
- ⧼apihelp-collection+settitles-param-title⧽
- This parameter is required.
- subtitle
- ⧼apihelp-collection+settitles-param-subtitle⧽
- Default: (empty)
- settings
- ⧼apihelp-collection+settitles-param-settings⧽
- Default: (empty)
Examples:
- Set the collection's title and subtitle
- api.php?action=collection&submodule=settitles&title=foo&subtitle=bar [open in sandbox]
- 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"} [open in sandbox]