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=wikiforum-set-thread-stickiness

(main | wikiforum-set-thread-stickiness)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: WikiForum
  • Licencja: GPL-3.0-or-later

Set the stickiness status of a thread, i.e. make a previously sticky thread a regular thread or turn a regular thread into a sticky thread

Parametry:
Other general parameters are available.
id

ID of the thread

Ten parametr jest wymagany.
Typ: liczba całkowita
stickiness

Action to take, either set to make a thread sticky or remove to remove a thread's sticky status

Ten parametr jest wymagany.
Jedna z następujących wartości: remove, set
token

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

Ten parametr jest wymagany.