راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: 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"} [باز کردن در صفحهٔ تمرین]