MediaWiki
1.30.0
|
Static Public Member Functions | |
static | onContributionsToolLinks ( $id, $nt, &$tools) |
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 Renameuser.hooks.php.
|
static |
Shows link to Special:Renameuser on Special:Contributions/foo.
$id | |
$nt | Title |
$tools |
Definition at line 46 of file Renameuser.hooks.php.
References $wgUser, SpecialPage::getTitleFor(), global, Linker::link(), and wfMessage().
|
static |
So users can just type in a username for target and it'll work.
array | &$types |
Definition at line 66 of file Renameuser.hooks.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 Renameuser.hooks.php.
References $article, $out, $title, Title::makeTitle(), User::newFromName(), NS_USER, NS_USER_TALK, and LogEventsList::showLogExtract().