Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
SMW\MediaWiki\Hooks\TitleMoveComplete Class Reference

Public Member Functions

 __construct (&$oldTitle, &$newTitle, &$user, $oldId, $newId)
 
 process ()
 

Protected Attributes

 $oldTitle = null
 
 $newTitle = null
 
 $user = null
 
 $oldId
 
 $newId
 

Detailed Description

TitleMoveComplete occurs whenever a request to move an article is completed

This method will be called whenever an article is moved so that semantic properties are moved accordingly.

See also
http://www.mediawiki.org/wiki/Manual:Hooks/TitleMoveComplete

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

SMW\MediaWiki\Hooks\TitleMoveComplete::__construct ( $oldTitle,
$newTitle,
$user,
  $oldId,
  $newId 
)
Since
1.9
Parameters
Title$oldTitleold title
Title$newTitle,new title
Use$useruser who did the move
$oldIddatabase ID of the page that's been moved
$newIddatabase ID of the created redirect

Member Function Documentation

SMW\MediaWiki\Hooks\TitleMoveComplete::process ( )
Since
1.9
Returns
true

Member Data Documentation

SMW\MediaWiki\Hooks\TitleMoveComplete::$newId
protected
SMW\MediaWiki\Hooks\TitleMoveComplete::$newTitle = null
protected
SMW\MediaWiki\Hooks\TitleMoveComplete::$oldId
protected
SMW\MediaWiki\Hooks\TitleMoveComplete::$oldTitle = null
protected
SMW\MediaWiki\Hooks\TitleMoveComplete::$user = null
protected

The documentation for this class was generated from the following file: