I'd like to add the option to Mass User Import, but I really don't know what I'd have to do.. If someone can point the direction, I'd give it a go..
Meanwhile the SQL solution should do it. Thanks !
André
Le 15/10/2010 00:54, Platonides a écrit :
Jim, the mailing list stripped the attachment. You will need to either give a link to it or send it to him offlist.
André wrote:
and switch about the same number of users from a group to another group?
I guess you are changing all users from a group to another? That would be easy to do with an sql query: UPDATE user_groups SET ug_group='newgroup' WHERE ug_group='oldgroup';
Adding all users recently registered to a group should be easy, too (although adding the option to Mass User Import seems the way to go).
INSERT INTO user_groups (ug_user, ug_group) SELECT user_id, 'newgroup' from user WHERE user_registration>= '20101014030405';
Where 20101014030405 means: all users registered since 2010-10-14 03:04:05
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l