[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/ -> MovePage.php (summary)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

File Size: 343 lines (11 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

MovePage:: (3 methods):
  __construct()
  move()
  moveToInternal()


Class: MovePage  - X-Ref

Handles the backend logic of moving a page from one title
to another.

__construct( Title $oldTitle, Title $newTitle )   X-Ref


move( User $user, $reason, $createRedirect )   X-Ref

param: User $user
param: string $reason
param: bool $createRedirect
return: Status

moveToInternal( User $user, &$nt, $reason = '', $createRedirect = true )   X-Ref
Move page to a title which is either a redirect to the
source page or nonexistent

param: User $user the User doing the move
param: Title $nt The page to move to, which should be a redirect or nonexistent
param: string $reason The reason for the move
param: bool $createRedirect Whether to leave a redirect at the old title. Does not check



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1