MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=move
(main | move)
- Denne modulen krever lesetilgang.
- Denne modulen krever skrivetilgang.
- Denne modulen aksepterer bare POST forespørsler.
- Source: MediaWiki
- License: GPL-2.0+
Flytt en side.
Parametre:
- 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
Title to rename the page to.
- Denne parameteren er påkrevd.
- reason
Reason for the rename.
- Default: (empty)
- movetalk
Rename the talk page, if it exists.
- Type: boolean (details)
- movesubpages
Rename subpages, if applicable.
- Type: boolean (details)
- noredirect
Don't create a redirect.
- Type: boolean (details)
- watch
- Utgått.
Add the page and the redirect to the current user's watchlist.
- Type: boolean (details)
- unwatch
- Utgått.
Remove the page and the redirect from the current user's watchlist.
- 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
- Default: preferences
- ignorewarnings
Ignore any warnings.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Denne parameteren er påkrevd.
Example:
- Move Badtitle to Goodtitle without leaving a redirect.
- api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect=