MediaWiki  1.33.0
NukeHooks Class Reference

Static Public Member Functions

static nukeContributionsLinks ( $userId, $userPageTitle, &$toolLinks, SpecialPage $sp)
 Shows link to Special:Nuke on Special:Contributions/username if applicable. More...
 

Detailed Description

Definition at line 3 of file NukeHooks.php.

Member Function Documentation

◆ nukeContributionsLinks()

static NukeHooks::nukeContributionsLinks (   $userId,
  $userPageTitle,
$toolLinks,
SpecialPage  $sp 
)
static

Shows link to Special:Nuke on Special:Contributions/username if applicable.

Parameters
int$userId
Title$userPageTitle
string[]&$toolLinks
SpecialPage$sp

Definition at line 13 of file NukeHooks.php.

References $username, SpecialPage\getLinkRenderer(), SpecialPage\getTitleFor(), SpecialPage\getUser(), IP\isValidRange(), and SpecialPage\msg().


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