mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-15 10:17:49 +00:00
this global was lost in change 67347
This commit is contained in:
parent
c52acec944
commit
12cdc370b4
|
@ -62,6 +62,7 @@ class TitleBlacklistHooks {
|
|||
* @return bool Acceptable
|
||||
*/
|
||||
private static function acceptNewUserName( $userName, &$message ) {
|
||||
global $wgTitleBlacklist;
|
||||
efInitTitleBlacklist();
|
||||
$title = Title::newFromText( $userName );
|
||||
$blacklisted = $wgTitleBlacklist->isBlacklisted( $title, 'new-account' );
|
||||
|
|
Loading…
Reference in a new issue