MediaWiki master
ResolveStubs Class Reference

Inherits Maintenance.

Collaboration diagram for ResolveStubs:

Public Member Functions

 __construct ()
 
 execute ()
 Convert history stubs that point to an external row to direct external pointers.
 
 resolveStub ( $row, $dryRun)
 Resolve a history stub.
 
 setUndoLog (UndoLog $undoLog)
 

Detailed Description

Definition at line 32 of file resolveStubs.php.

Constructor & Destructor Documentation

◆ __construct()

ResolveStubs::__construct ( )

Definition at line 36 of file resolveStubs.php.

Member Function Documentation

◆ execute()

ResolveStubs::execute ( )

Convert history stubs that point to an external row to direct external pointers.

Definition at line 47 of file resolveStubs.php.

References resolveStub(), and setUndoLog().

◆ resolveStub()

ResolveStubs::resolveStub ( $row,
$dryRun )

Resolve a history stub.

This is called by MoveToExternal

Parameters
stdClass$rowThe existing text row
bool$dryRun
Returns
bool

Definition at line 104 of file resolveStubs.php.

Referenced by execute().

◆ setUndoLog()

ResolveStubs::setUndoLog ( UndoLog $undoLog)
Parameters
UndoLog$undoLog

Definition at line 91 of file resolveStubs.php.

Referenced by execute().


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