Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.

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

action=move

(main | move)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: MediaWiki
  • Licencja: GPL-2.0-or-later

Przenieś stronę.

Parametry:
from

Tytuł strony do zmiany nazwy. Nie można używać razem z fromid.

fromid

ID strony do przeniesienia. Nie może być użyte wraz z from.

Type: integer
to

Tytuł na jaki zmienić nazwę strony.

This parameter is required.
reason

Powód zmiany nazwy.

Domyślnie: (puste)
movetalk

Zmień nazwę strony dyskusji, jeśli istnieje.

Type: boolean (details)
movesubpages

Zmień nazwy podstron, jeśli możliwe.

Type: boolean (details)
noredirect

Nie twórz przekierowania.

Type: boolean (details)
watchlist

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

Jedna z następujących wartości: nochange, preferences, unwatch, watch
Default: preferences
ignorewarnings

Ignoruj wszystkie ostrzeżenia.

Type: boolean (details)
tags

Change tags to apply to the entry in the move log and to the null revision on the destination page.

Wartości (oddziel za pomocą | lub alternatywy):
token

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

This parameter is required.