MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

command=create

(main | readinglists | create)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: ReadingLists
  • License: GPL-2.0-or-later

Create a new list for the current user.

The user must have fewer than 100 (non-deleted) lists.

Parameters:
name

List name. Required unless using batch creation.

Cannot be longer than 255 bytes.
description

List description.

Cannot be longer than 767 bytes.
batch

Batch data for creating multiple lists in a single request, in the form of a JSON array with one or more objects with name and (optionally) description fields.