MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=cxsuggestionlist

(main | cxsuggestionlist)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: ContentTranslation
  • License: GPL-2.0+

Manage the suggestion lists. Add suggestions to lists and remove them.

Parameters:
listname

Suggestion list name.

This parameter is required.
listaction

Action to be performed on the list.

This parameter is required.
One of the following values: add, remove
titles

Page titles.

This parameter is required.
Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
from

The source language code.

This parameter is required.
to

The target language code.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Example:
Add a title to a list as a suggestion to translate from English (en) to Spanish (es). If the list does not exist already, a new list will be created.
api.php?action=cxsuggestionlist&listname=List&listaction=add&titles=Title&from=en&to=es&token=123ABC [open in sandbox]
Vojna Enciklopedija - Glavni i odgovorni urednik Branislav Kapetanović