[Mediawiki-l] users rights and importing users

André Meunier ameunier at ulg.ac.be
Fri Oct 15 11:51:01 UTC 2010

  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 !


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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


*André Meunier*

Université de Liège
Bibliothèque des Sciences de la Vie
Bat B35, Avenue de l'Hôpital
CHU Sart Tilman
4000 Liège

Téléphone : 04 366 2173


More information about the MediaWiki-l mailing list