Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

action=move

(main | move)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.

Przenieś stronę.

Parametry:
from

Title of the page to rename. Cannot be used together with fromid.

fromid

Page ID of the page to rename. Cannot be used together with from.

to

Title to rename the page to.

Ten parametr jest wymagany.
reason

Powód zmiany nazwy.

Domyślnie: (puste)
movetalk

Rename the talk page, if it exists.

movesubpages

Rename subpages, if applicable.

noredirect

Don't create a redirect.

watch
Przestarzałe.

Add the page and the redirect to the current user's watchlist.

unwatch
Przestarzałe.

Remove the page and the redirect from the current user's watchlist.

watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

Jedna wartość: watch, unwatch, preferences, nochange
Domyślnie: preferences
ignorewarnings

Ignoruj wszystkie ostrzeżenia.

token

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

Ten parametr jest wymagany.