MediaWiki  REL1_20
UpdateRestrictions Class Reference

Maintenance script that updates page_restrictions table from old page_restriction column. More...

Inheritance diagram for UpdateRestrictions:
Collaboration diagram for UpdateRestrictions:

List of all members.

Public Member Functions

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

Detailed Description

Maintenance script that updates page_restrictions table from old page_restriction column.

Definition at line 35 of file updateRestrictions.php.


Constructor & Destructor Documentation

Default constructor.

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

Reimplemented from Maintenance.

Definition at line 36 of file updateRestrictions.php.

References Maintenance\setBatchSize().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 42 of file updateRestrictions.php.

References $ok, $res, Maintenance\error(), Maintenance\output(), wfGetDB(), and wfWaitForSlaves().


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