Ajuda da API do MediaWiki

Esta é uma página de documentação da API do MediaWiki gerada automaticamente.

Documentação e exemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cxfavoritesuggestions

(main | cxfavoritesuggestions)
  • Este módulo é interno ou instável. Sua operação pode mudar sem aviso prévio.
  • Este módulo requer direitos de leitura.
  • Este módulo requer direitos de gravação.
  • Este módulo aceita apenas pedidos POST.
  • Fonte: ContentTranslation
  • Licença: GPL-2.0-or-later

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

Parâmetros:
Estão disponíveis outros parâmetros gerais.
listaction

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

Este parâmetro é obrigatório.
Um dos seguintes valores: add, remove
title

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

Este parâmetro é obrigatório.
from

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

Este parâmetro é obrigatório.
to

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

Este parâmetro é obrigatório.
token

Um token "csrf" token recuperado de action=query&meta=tokens

Este parâmetro é obrigatório.