MediaWiki
REL1_22
|
Implements Special:ComparePages. More...
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 |
Implements Special:ComparePages.
Definition at line 31 of file SpecialComparePages.php.
Definition at line 39 of file SpecialComparePages.php.
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().
SpecialComparePages::execute | ( | $ | par | ) |
Show a form for filtering namespace and username.
$par | String |
Reimplemented from SpecialPage.
Definition at line 49 of file SpecialComparePages.php.
References $form, array(), SpecialPage\getContext(), SpecialPage\outputHeader(), and SpecialPage\setHeaders().
SpecialComparePages::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
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] |
Definition at line 109 of file SpecialComparePages.php.
References ContextSource\getContext(), Revision\newFromId(), and revOrTitle().
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.