JMediawikiPages::movePageByName
Method to move a page.
Signature
public function movePageByName(string
$from,
[string
$to = null,
[string
$reason = null,
[string
$movetalk = null,
[string
$movesubpages = null,
[boolean
$noredirect = null,
[string
$watchlist = null,
[boolean
$ignorewarnings = null]]]]]]] )
Parameters
-
$from
- Title of the page you want to move.
-
$to
- Title you want to rename the page to.
-
$reason
- Reason for the move (optional).
-
$movetalk
- Move the talk page, if it exists.
-
$movesubpages
- Move subpages, if applicable.
-
$noredirect
- Don't create a redirect.
-
$watchlist
- Unconditionally add or remove the page from your watchlist.
-
$ignorewarnings
- Ignore any warnings.
Returns