MediaWiki
1.32.5
|
Static Public Member Functions | |
static | onContributionsToolLinks ( $id, $nt, array &$tools, SpecialPage $sp) |
Shows link to Special:Renameuser on Special:Contributions/foo. More... | |
static | onGetLogTypesOnUser (array &$types) |
So users can just type in a username for target and it'll work. More... | |
static | onShowMissingArticle ( $article) |
Show a log if the user has been renamed and point to the new username. More... | |
Definition at line 3 of file RenameuserHooks.php.
|
static |
Shows link to Special:Renameuser on Special:Contributions/foo.
int | $id | |
Title | $nt | |
array | &$tools | |
SpecialPage | $sp |
Definition at line 45 of file RenameuserHooks.php.
References SpecialPage\getLinkRenderer(), SpecialPage\getTitleFor(), SpecialPage\getUser(), SpecialPage\msg(), and text.
|
static |
So users can just type in a username for target and it'll work.
array | &$types |
Definition at line 61 of file RenameuserHooks.php.
|
static |
Show a log if the user has been renamed and point to the new username.
Don't show the log if the $oldUserName exists as a user.
Article | $article |
Definition at line 11 of file RenameuserHooks.php.
References $article, $out, $title, ContextSource\getContext(), ContextSource\getTitle(), Title\makeTitle(), User\newFromName(), NS_USER, NS_USER_TALK, and LogEventsList\showLogExtract().