MediaWiki  1.33.0
ReplaceTextHooks Class Reference

Static Public Member Functions

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

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 text, and wfMessage().

◆ getReservedNames()

static ReplaceTextHooks::getReservedNames ( $names)
static

Implements UserGetReservedNames hook.

Parameters
array&$names

Definition at line 67 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 55 of file ReplaceTextHooks.php.

References $out, SpecialPageFactory\getPage(), and ReplaceTextUtils\link().


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