MediaWiki  REL1_20
CheckUsernames Class Reference

Maintenance script to check that database usernames are actually valid. More...

Inheritance diagram for CheckUsernames:
Collaboration diagram for CheckUsernames:

List of all members.

Public Member Functions

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

Detailed Description

Maintenance script to check that database usernames are actually valid.

An existing usernames can become invalid if User::isValidUserName() is altered or if we change the $wgMaxNameChars

Definition at line 35 of file checkUsernames.php.


Constructor & Destructor Documentation

Default constructor.

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

Reimplemented from Maintenance.

Definition at line 37 of file checkUsernames.php.


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 42 of file checkUsernames.php.

References $dbr, $res, Maintenance\error(), User\isValidUserName(), wfDebugLog(), wfGetDB(), and wfWikiID().


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