MediaWiki API yardımı

Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.

Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cxfavoritesuggestions

(main | cxfavoritesuggestions)
  • Bu modül dahili veya kararsız. Çalışması önceden bildirilmeksizin değiştirilebilir.
  • Bu modül okuma hakları gerektirir.
  • Bu modül yazma hakları gerektirir.
  • Bu modül yalnızca POST isteklerini kabul eder.
  • Kaynak: ContentTranslation
  • Lisans: GPL-2.0-or-later

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

Parametre:
Other general parameters are available.
listaction

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

Bu parametre gerekli.
Aşağıdaki değerlerden biri: add, remove
title

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

Bu parametre gerekli.
from

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

Bu parametre gerekli.
to

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

Bu parametre gerekli.
token

action=query&meta=tokens üzerinden alınan bir "csrf" anahtarı

Bu parametre gerekli.
Örnekler:
Add a suggestion to the user's list of favorite suggestions
api.php?action=cxfavoritesuggestions&listaction=add&title=Title&from=en&to=es [sandbox'ta açın]
Remove a suggestion from the user's list of favorite suggestions
api.php?action=cxfavoritesuggestions&listaction=remove&title=Title&from=en&to=es [sandbox'ta açın]