Extension:Minimum Name Length
From MediaWiki.org
|
Minimum Name Length Release status: stable |
|||
|---|---|---|---|
| Implementation | User identity | ||
| Description | Enforce a minimum username length during account creation | ||
| Author(s) | Rob Church | ||
| Last Version | 1.0 (29/03/2007) | ||
| MediaWiki | 1.11.0+ | ||
| License | Sleepycat License | ||
| Download | Download snapshot |
||
|
|||
The Minimum Name Length extension allows wiki administrators to set a minimum length for usernames which will be enforced during account creation.
Contents |
[edit] Requirements
The Minimum Name Length extension requires MediaWiki 1.11.0 or above.
[edit] Installation
- Check out all extension files and place them in a MinimumNameLength subdirectory within your MediaWiki extensions directory
- Add the line
require_once( "{$IP}/extensions/MinimumNameLength/MinimumNameLength.php" );to your LocalSettings.php file
Installation can be verified through the Special:Version page on the wiki.
[edit] Configuration
To configure the minimum name length, set $wgMinimumNameLength in LocalSettings.php, after the call to include the extension, e.g.
require_once( "{$IP}/extensions/MinimumNameLength/MinimumNameLength.php" );$wgMinimumNameLength = 10;
[edit] Change log
A complete log of changes to the extension code (including internationalisation updates from third parties) is available from the Subversion log, however, summarised information on changes between point releases is given below:
| Version | Release Date | Comments |
|---|---|---|
| 1.1 | 11/01/2008 | now using wfLoadExtensionMessages |
| 1.0 | 29/03/2007 | Initial version |

