Extension:SafeCreate

What can this extension do?
This extension works in 2 ways to help users set more secure passwords (with password rules that are setup in LocalSettings.php):
 * Requiring new account to conform to the password rules
 * Requiring changed passwords on the Special:ChangePassword page to conform to the password rules

Features:
 * Does not require any customizations to the Mediawiki core code, nor does it require any customizations to the database.
 * Easy to switch back to the default Mediawiki authentication method.
 * Allows users who are already in the database (who might have passwords that do not conform with the rules) to log in normally.

Usage
This extension has only been tested on Mediawiki 1.15.5.

Download instructions
Please download the file from the SVN link on the right and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
Each of the items in the $wgValidPasswords array can be set to require that item in the passwords for new accounts and password changes. With the exception of "minlength", if the item is set to "true", that item is required and "false" means that it is not required. The item "minlength" is set to $wgMinimalPasswordLength, which is set to the minimum character length requirement of the password (the value '0' means that there is no minimum requirement). The array $wgPasswordSpecialChars is used for the "special" item of the $wgValidPasswords array. To limit the special characters that count for "special characters," remove them from this list.

History

 * 1.0.0 (Initial release)