Extension:MassUserImport

From MediaWiki.org

Jump to: navigation, search

       

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Mass User Import

Release status: Experimental

Implementation  User identity
Description Mass add users from a CSV.
Last Version  0.4 (5-7-09)
MediaWiki  1.14
License No license specified
Download http://fincul.com/f/MassUserImport.zip

check usage (experimental)

Contents

[edit] What can this extension do?

Adds a special page to allow mass user import from a CSV. Currently takes the first part of the email address as the username.

[edit] Usage

The special page contains a textbox and a submit button. The syntax for the textbox is as follows:

Real Name 1, email@example.com
Real Name 2, email2@example.com

This will create two accounts, email and email2.

[edit] Download instructions

Download from http://fincul.com/f/MassUserImport.zip. Unzip, and place in $IP/extensions/MassUserImport/. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

[edit] Installation

Install like any other special page:

require_once("$IP/extensions/MassUserImport/MassUserImport.php");

Once installed, look under Special Pages->Users for MassUserImport.

[edit] Configuration parameters

There are no configuration options.

[edit] User rights

Users must have the createaccount right to be able to create accounts.

[edit] Note

I created this extension because it was needed for a project. No other extension seemed to do this, which seemed like a huge, glaring omission. I've posted this as a courtesy so others can make use of it, but I can't commit to maintaining it or supporting it beyond our needs. If someone else wants to update it, feel free, but keep my username attached so I can keep this on my resume.

Thanks, and good luck!