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

(main | favorite)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Favorites
  • License: unknown

Add or remove a page from/to the current user's favorite list

Parameters:
title

The page to (un)favorite

This parameter is required.
unfavorite

If set the page will be unfavorited rather than favorited

Type: boolean (details)