Extension:UsernameWithGroupname
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. |
UsernameWithGroupname Release status: unmaintained |
|
---|---|
Implementation | User identity |
Description | Allows the user to provide a group at sign up, the group name will be displayed after the username and has to be given at login through a dropdown. |
Author(s) | Thomas Crepain |
Latest version | 1.0 (2012-09-09) |
MediaWiki | 1.19.0+ |
PHP | PHP 5.3 |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: https://raw.github.com/fosopenscouting/UsernameWithGroupname/master/README.mediawiki https://github.com/fosopenscouting/UsernameWithGroupname/commits/master |
Example | http://wiki.fos.be |
|
|
Allows the user to provide a group at sign up, the group name will be displayed after the username and has to be given at login through a dropdown.
Installation[edit]
- Create a folder in the folder 'extensions' named UsernameWithGroupname
- Add the following line to your LocalSettings.php file
require_once( "$IP/extensions/extension_name/UsernameWithGroupname.php" );
Configuration[edit]
Under require_once line you can use the following variables to alter the behaviour of the extension:
- $wgUsergroups: An array of groups that will be shown in the dropdownlist in the login and sign up forms.
- $wgCharsBetweenUsernameAndGroupname: The string that will be added between the username and the groupname (Default: " (").
- $wgCharsAfterGroupname: The string that will be added after the groupname (Default: ")").