MediaWiki  REL1_22
TitleCleanup Class Reference

Maintenance script to clean up broken, unparseable titles. More...

Inheritance diagram for TitleCleanup:
Collaboration diagram for TitleCleanup:

List of all members.

Public Member Functions

 __construct ()

Protected Member Functions

 fileExists ($name)
 moveIllegalPage ($row)
 moveInconsistentPage ($row, $title)
 processRow ($row)

Detailed Description

Maintenance script to clean up broken, unparseable titles.

Definition at line 39 of file cleanupTitles.php.


Constructor & Destructor Documentation

Reimplemented from TableCleanup.

Definition at line 40 of file cleanupTitles.php.


Member Function Documentation

TitleCleanup::fileExists ( name) [protected]
Parameters:
string$name
Returns:
bool

Definition at line 82 of file cleanupTitles.php.

References $dbr, $name, array(), and wfGetDB().

TitleCleanup::moveIllegalPage ( row) [protected]
Parameters:
object$row

Definition at line 94 of file cleanupTitles.php.

References $title, array(), Title\newFromText(), Maintenance\output(), and wfGetDB().

Referenced by processRow().

TitleCleanup::moveInconsistentPage ( row,
title 
) [protected]
Parameters:
object$row
Title$title

Definition at line 137 of file cleanupTitles.php.

References $title, array(), Maintenance\error(), Title\makeTitleSafe(), Maintenance\output(), LinkCache\singleton(), and wfGetDB().

Referenced by processRow().


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