MediaWiki  REL1_22
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 Member Functions

 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

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 158 of file SpecialComparePages.php.

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

SpecialComparePages::checkExistingTitle ( value,
alldata 
)

Definition at line 143 of file SpecialComparePages.php.

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

Show a form for filtering namespace and username.

Parameters:
$parString
Returns:
String

Reimplemented from SpecialPage.

Definition at line 49 of file SpecialComparePages.php.

References $form, array(), SpecialPage\getContext(), SpecialPage\outputHeader(), and SpecialPage\setHeaders().

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 170 of file SpecialComparePages.php.

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

Definition at line 130 of file SpecialComparePages.php.

References $title, and Title\newFromText().

Referenced by showDiff().

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

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: