https://bugzilla.wikimedia.org/show_bug.cgi?id=23495
Summary: Command-line tool for adding users
Product: MediaWiki
Version: 1.16-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Maintenance scripts
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=7363)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=7363)
Patch for creating maintenance/createUser.php script
MediaWiki currently has no command-line tool for adding non-admin users, so I
wrote one. This should prove quite handy for automated deployment, testing
etc, in fact I was rather surprised this didn't exist already.
Usage: php createUser.php username password [groups ...] [--help]
options:
--help show this message
Sample: "php maintenance/createUser.php SampleBot botsekret Bot" creates a user
called 'SampleBot' with password 'botsekret' and adds him to group 'Bot'.
Note: This overlaps partly with the existing createAndPromote.php for creating
admins, but this is more flexible and should probably replace that?
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l