Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

command=update

(main | readinglists | update)
  • Этот модуль внутренний или нестабильный. Его операции могут измениться без предупреждения.
  • Этот модуль требует прав на чтение.
  • Этот модуль требует прав на запись.
  • Этот модуль принимает только POST-запросы.
  • Источник: ReadingLists
  • Лицензия: GPL-2.0-or-later

Update a list belonging to the current user.

Параметры:
list

List ID. Required unless using batch update.

Type: integer
name

New list name. Either this or description is required unless doing batch update.

Не может быть длиннее 255 байтов.
description

Новое описание списка.

Не может быть длиннее 767 байтов.
batch

Batch data for updating multiple lists in a single request, in the form of a JSON array with one or more objects with list, name and description fields. Name and description are optional but at least one of them must be present.