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=setup

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

Enable lists for the current user.

This command must be used before the user can do anything else with reading lists. Also creates a default list. To undo it, use teardown.

Example:
Set up reading lists for the current user.
api.php?action=readinglists&command=setup&token=123ABC [open in sandbox]