Index: trunk/extensions/TitleBlacklist/TitleBlacklist.hooks.php |
— | — | @@ -62,6 +62,7 @@ |
63 | 63 | * @return bool Acceptable |
64 | 64 | */ |
65 | 65 | private static function acceptNewUserName( $userName, &$message ) { |
| 66 | + global $wgTitleBlacklist; |
66 | 67 | efInitTitleBlacklist(); |
67 | 68 | $title = Title::newFromText( $userName ); |
68 | 69 | $blacklisted = $wgTitleBlacklist->isBlacklisted( $title, 'new-account' ); |