MediaWiki  REL1_19
SpecialComparePages Class Reference

Implements Special:ComparePages. More...

Inheritance diagram for SpecialComparePages:
Collaboration diagram for SpecialComparePages:

List of all members.

Public Member Functions

 __construct ()
 checkExistingRevision ($value, $alldata)
 checkExistingTitle ($value, $alldata)
 execute ($par)
 Show a form for filtering namespace and username.

Static Public Member Functions

static revOrTitle ($revision, $title)
static showDiff ($data, HTMLForm $form)

Public Attributes

 $skin

Protected Attributes

 $opts
 $showNavigation = false

Detailed Description

Implements Special:ComparePages.

Definition at line 31 of file SpecialComparePages.php.


Constructor & Destructor Documentation


Member Function Documentation

SpecialComparePages::checkExistingRevision ( value,
alldata 
)

Definition at line 151 of file SpecialComparePages.php.

References SpecialPage\msg(), and Revision\newFromId().

Here is the call graph for this function:

SpecialComparePages::checkExistingTitle ( value,
alldata 
)

Definition at line 137 of file SpecialComparePages.php.

References $title, SpecialPage\msg(), and Title\newFromText().

Here is the call graph for this function:

Show a form for filtering namespace and username.

Parameters:
$parString
Returns:
String

Reimplemented from SpecialPage.

Definition at line 49 of file SpecialComparePages.php.

References SpecialPage\getContext(), SpecialPage\outputHeader(), and SpecialPage\setHeaders().

Here is the call graph for this function:

static SpecialComparePages::revOrTitle ( revision,
title 
) [static]

Definition at line 125 of file SpecialComparePages.php.

References $title, and Title\newFromText().

Referenced by showDiff().

Here is the call graph for this function:

Here is the caller graph for this function:

static SpecialComparePages::showDiff ( data,
HTMLForm form 
) [static]

Definition at line 109 of file SpecialComparePages.php.

References ContextSource\getContext(), revOrTitle(), and DifferenceEngine\showDiffPage().

Here is the call graph for this function:


Member Data Documentation

SpecialComparePages::$opts [protected]

Definition at line 34 of file SpecialComparePages.php.

SpecialComparePages::$showNavigation = false [protected]

Definition at line 37 of file SpecialComparePages.php.

SpecialComparePages::$skin

Definition at line 34 of file SpecialComparePages.php.


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