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
Title of the collection
- This parameter is required.
- subtitle
Subtitle of the collection
- Default: (empty)
- settings
Settings for the collection
- 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]