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

action=readinglists

(main | readinglists)
  • 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

Reading list write operations.

Create/update/delete/sort reading lists and entries. See the documentation of the various commands for details.

Parameters:
command

Command (API submodule) for reading list write operations.

create
Internal. Create a new list for the current user.
createentry
Internal. Add a new page to a list belonging to the current user.
delete
Internal. Delete a list belonging to the current user.
deleteentry
Internal. Delete a page from a list belonging to the current user.
setup
Internal. Enable lists for the current user.
teardown
Internal. Disable lists for the current user.
update
Internal. Update a list belonging to the current user.
This parameter is required.
One of the following values: create, createentry, delete, deleteentry, setup, teardown, update
token

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

This parameter is required.