راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=suggestarticleaction
(main | collection | suggestarticleaction)
- این پودمان نیازمند اختیارات خواندن است.
- منبع: Collection
- مجوز: GPL-2.0-or-later
API module to interact with suggestions
پارامترها:
Other general parameters are available.
- suggestaction
One of 'add', 'remove', or 'ban'. 'add' adds a page to the collection and suggestions and unbans it. 'remove' removes an added page and bans it. 'ban' bans a page from suggestions.
- این پارامتر الزامی است.
- یکی از مقدارهای زیر: add، ban، remove
- title
Title of a page
- این پارامتر الزامی است.
نمونه:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [باز کردن در صفحهٔ تمرین]