MediaWiki REL1_34
ReplaceTextHooks Class Reference

Static Public Member Functions

static addToAdminLinks (ALTree &$adminLinksTree)
 Implements AdminLinks hook from Extension:Admin_Links.
 
static getReservedNames (&$names)
 Implements UserGetReservedNames hook.
 
static replaceTextReminder (&$form, &$ot, &$nt)
 Implements SpecialMovepageAfterMove hook.
 

Detailed Description

Definition at line 23 of file ReplaceTextHooks.php.

Member Function Documentation

◆ addToAdminLinks()

static ReplaceTextHooks::addToAdminLinks ( ALTree & $adminLinksTree)
static

Implements AdminLinks hook from Extension:Admin_Links.

Parameters
ALTree&$adminLinksTree
Returns
bool

Definition at line 31 of file ReplaceTextHooks.php.

References wfMessage().

◆ getReservedNames()

static ReplaceTextHooks::getReservedNames ( & $names)
static

Implements UserGetReservedNames hook.

Parameters
array&$names

Definition at line 71 of file ReplaceTextHooks.php.

References $wgReplaceTextUser.

◆ replaceTextReminder()

static ReplaceTextHooks::replaceTextReminder ( & $form,
& $ot,
& $nt )
static

Implements SpecialMovepageAfterMove hook.

Adds a link to the Special:ReplaceText page at the end of a successful regular page move message.

Parameters
MovePageForm&$form
Title&$otTitle object of the old article (moved from)
Title&$ntTitle object of the new article (moved to)

Definition at line 59 of file ReplaceTextHooks.php.

References ReplaceTextUtils\link().


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