MedijaViki API pagalba
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=move
(main | move)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Šaltinis: MediaWiki
- Licencija: GPL-2.0-or-later
Perkelti puslapį.
Parametrai:
- 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.
- Type: integer
- to
Pavadinimas, į kuri pervadinamas puslapis.
- Šis parametras yra reikalingas.
- reason
Pervadinimo priežastis.
- Numatytasis: (tuščia)
- movetalk
Pervadinti aptarimo puslapį, jei jis egzistuoja.
- Type: boolean (details)
- movesubpages
Rename subpages, if applicable.
- Type: boolean (details)
- noredirect
Nekurti nukreipimo.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.
- One of the following values: watch, unwatch, preferences, nochange
- Numatytasis: preferences
- ignorewarnings
Ignuoruoti bet kokius įspėjimus.
- Type: boolean (details)
- tags
Change tags to apply to the entry in the move log and to the null revision on the destination page.
- Values (separate with | or alternative):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Šis parametras yra reikalingas.
Pavyzdys:
- Perkelti Badtitle į Goodtitle nepaliekant nukreipimo.
- api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect= [open in sandbox]