Changes
Jump to navigation
Jump to search
→Setting up users (3/11/2016)
Then we just have to make a CSV with columns for username, password, email, real name, and user groups (optional). More info on the [https://www.mediawiki.org/wiki/Extension:ImportUsers extension documentation page].
I made a small little CSV to test the ImportUsers extensions:
user1,pass1,user1@example.com,Dummy One
user2,pass2,user2@example.com,Dummy Two
user3,pass3,user3@example.com,Dummy Three
After importing the users, run a maintenance script from the command line to update new user statistics:
$ cd /var/lib/mediawiki/maintenance
$ php initSiteStats.php
We also want to limit account creation to sysops only [https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation as done here]. To do this, edit LocalSettings.php and add these lines: