Довідка API MediaWiki
Це автоматично генерована сторінка документації API MediaWiki.
Документація та приклади: 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
Конкретні параметри:
Other general parameters are available.
- 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"} [відкрити в пісочниці]