maintenance/updateRestrictions.php File Reference

Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change. More...

Go to the source code of this file.

Enumerations

enum  BATCH_SIZE

Functions

 migrate_page_restrictions ($db)

Variables

 $db = & wfGetDB( DB_MASTER )


Detailed Description

Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change.

All remaining page_restriction column values are moved to the new table.

Definition in file updateRestrictions.php.


Enumeration Type Documentation

enum BATCH_SIZE

Definition at line 12 of file updateRestrictions.php.


Function Documentation

migrate_page_restrictions ( db  ) 

Definition at line 24 of file updateRestrictions.php.

References $action, $batch, $blockEnd, $blockStart, $db, $end, $ok, $res, $row, $start, and wfWaitForSlaves().


Variable Documentation

$db = & wfGetDB( DB_MASTER )

Definition at line 16 of file updateRestrictions.php.


Generated on Sat Sep 5 02:08:28 2009 for MediaWiki by  doxygen 1.5.9