Pomoc API MediaWiki

To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=favorite

(main | favorite)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: Favorites
  • Licencja: nieznana

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

Parametry:
Other general parameters are available.
title

The page to (un)favorite

Ten parametr jest wymagany.
unfavorite

If set the page will be unfavorited rather than favorited

Typ: wartość boolowska (szczegóły)
token

Token „csrf” pobrany z action=query&meta=tokens

Ten parametr jest wymagany.