راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cxfavoritesuggestions

(main | cxfavoritesuggestions)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: ContentTranslation
  • مجوز: GPL-2.0-or-later

Add or remove a favorite suggestion to the current user's list.

پارامترها:
Other general parameters are available.
listaction

Action to be performed on the given favorite suggestion title. Available options: 'add' and 'remove'

این پارامتر الزامی است.
یکی از مقدارهای زیر: add، remove
title

The title of the favorite suggestion on which the action should be performed

این پارامتر الزامی است.
from

The source language of the favorite suggestion on which the action should be performed

این پارامتر الزامی است.
to

The target language of the favorite suggestion on which the action should be performed

این پارامتر الزامی است.
token

یک بلیط «csrf» واکشی‌شده از action=query&meta=tokens

این پارامتر الزامی است.