[Mediawiki-l] Batch adding 100 users?
Frank Fulchiero
fful at conncoll.edu
Mon Nov 12 14:24:43 UTC 2007
Hi, thanks for the answer. I ended up changing, in LocalSettings,
$wgGroupPermissions['user' ]['createaccount'] = false;
to = true.
Then had a student worker enter the names manually. At least he did
not have to log out after each one to create the next account. After
he was done, I changed 'createaccount' back to false.
I will look into creating accounts by email, but in this case we
wanted them ready to go, and we have a strong honor code here, which
seems to work most of the time.
I figured it could also be done by importing a delimited text file
with username and pw into MySQL somehow.
Appreciate the response,
Frank Fulchiero
Digital Media Specialist
Connecticut College
> From: Platonides <Platonides at gmail.com>
> Subject: Re: [Mediawiki-l] Batch adding 100 users?
>
> Frank Fulchiero wrote:
>> I have a wiki where all can read, but you need an account, and need
>> to log in, to edit. This is in version 1.5.4
>> Only the sysop can create accounts.
>> I have to add over a hundred different students, all with the same
>> initial password, with edit privileges, i.e.:
>>
>> John Smith, pw Tools1
>> Deborah Jane, pw Tools1
>> Gary Neuros, pw Tools1
>>
>> Up to now, I have added users by logging in as WikiSysop, then go to
>> Special Pages, create an account, and enter the new account.
>> However, I am then in that person's account, and have to log out
>> before logging in as WikiSysop again.
>> This can get tedious with 100 new accounts.
>> Is there any way to automate or batch-import a list of new users?
>
>
> I'd either do it with an Auth plugin to automatically create the
> account
> on first login, or temporary allow anonymous page creation and pass a
> bot sending 100 POSTs.
>
> PS: You should create accounts by email instead of giving everybody
> the
> same password.
More information about the MediaWiki-l
mailing list