MediaWiki extension ImportUsers

Clone this repo:
  1. a54a0a8 build: Updating eslint-config-wikimedia to 0.28.2 by libraryupgrader · 2 weeks ago master
  2. 84f9e73 build: Updating braces to 3.0.3 by libraryupgrader · 3 weeks ago
  3. 19fa595 build: Updating eslint-config-wikimedia to 0.28.0 by libraryupgrader · 4 weeks ago
  4. 1c9941a Localisation updates from https://translatewiki.net. by Translation updater bot · 4 weeks ago
  5. b3e7597 build: Updating grunt-banana-checker to 0.13.0 by libraryupgrader · 7 weeks ago

Import Users

Import Users is an extension to MediaWiki allowing to to import users in bulk from a UTF-8 encoded CSV file.

Compatibility

  • PHP 5.4+
  • MediaWiki 1.25+

See also the CHANGELOG.md file provided with the code.

Installation

(1) Obtain the code from GitHub

(2) Extract the files in a directory called ImportUsers in your extensions/ folder.

(3) Add the following code at the bottom of your "LocalSettings.php" file:

wfLoadExtension( 'ImportUsers' );

(4) Configure if desired. See the "Configuration" section below.

(5) Go to "Special:Version" on your wiki to verify that the extension is successfully installed.

(6) Done.

Configuration

By default the import_users right provided by this extension is assigned to the "bureaucrat" user group. In case you would like to assign the right to an additional user group, e.g. "sysop" add the following line to your "LocalSettings.php" file after the inclusion of the extension as described in the "Installation" section above:

$wgGroupPermissions['sysop']['import_users'] = true;

Notes

After importing users you might want to run the "initSiteStats.php" maintenance script [0] to update the statistics of your wiki on registered users.

[0] https://www.mediawiki.org/wiki/Manual:InitSiteStats.php