Extension:Minimum Name Length
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
Minimum Name Length Release status: unmaintained |
|
---|---|
Implementation | User identity |
Description | Allows to enforce a minimum username length during account creation |
Author(s) | Rob Church (Robchurchtalk) |
Latest version | 3.0.0 (2019-06-04) |
MediaWiki | 1.27+ |
PHP | 5.3+ |
Database changes | No |
License | BSD 2-clause "Simplified" License |
Download | README CHANGELOG |
|
|
Translate the Minimum Name Length extension if it is available at translatewiki.net | |
The Minimum Name Length extension allows to set a minimum length for user names which will be enforced during account creation.
Installation[edit]
- Download and place the file(s) in a directory called
MinimumNameLength
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'MinimumNameLength' );
- Configure as required
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration[edit]
To configure the minimum name length for a username, set $wgMinimumUsernameLength
in the "LocalSettings.php" file, after the call to include the extension as described in the installation section, e.g.
$wgMinimumUsernameLength = 8;
10
is the default setting. In case you are fine with this you do not need to do anything.