MediaWiki  REL1_20
MigrateUserGroup Class Reference

Maintenance script that re-assigns users from an old group to a new one. More...

Inheritance diagram for MigrateUserGroup:
Collaboration diagram for MigrateUserGroup:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Detailed Description

Maintenance script that re-assigns users from an old group to a new one.

Definition at line 31 of file migrateUserGroup.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 32 of file migrateUserGroup.php.

References Maintenance\addArg(), and Maintenance\setBatchSize().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 40 of file migrateUserGroup.php.

References $count, Maintenance\error(), Maintenance\getArg(), Maintenance\output(), wfGetDB(), and wfWaitForSlaves().


The documentation for this class was generated from the following file: