MediaWiki
REL1_22
|
A special page that lists log entries. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
Default execute method Checks user permissions, calls the function given in mFunction. | |
Protected Member Functions | |
addHeader ($type) | |
Set page title and show header for this log type. | |
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'. | |
Private Member Functions | |
getRevisionButton ($formcontents) | |
parseParams (FormOptions $opts, $par) | |
show (FormOptions $opts, array $extraConds) | |
Private Attributes | |
$typeOnUser | |
List log type for which the target is a user Thus if the given target is in NS_MAIN we can alter it to be an NS_USER Title user instead. |
A special page that lists log entries.
Definition at line 31 of file SpecialLog.php.
Definition at line 43 of file SpecialLog.php.
SpecialLog::addHeader | ( | $ | type | ) | [protected] |
Set page title and show header for this log type.
$type | string |
Definition at line 223 of file SpecialLog.php.
References SpecialPage\getOutput().
Referenced by show().
SpecialLog::execute | ( | $ | subPage | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This must be overridden by subclasses; it will be made abstract in a future version
$subPage | string|null |
Reimplemented from SpecialPage.
Definition at line 47 of file SpecialLog.php.
References FormOptions\add(), array(), false, SpecialPage\getRequest(), SpecialPage\getUser(), global, FormOptions\INTNULL, IP\isIPAddress(), LogPage\isLogType(), Title\makeTitleSafe(), User\newFromName(), Title\newFromText(), SpecialPage\outputHeader(), parseParams(), SpecialPage\setHeaders(), and show().
SpecialLog::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 229 of file SpecialLog.php.
SpecialLog::getRevisionButton | ( | $ | formcontents | ) | [private] |
Definition at line 188 of file SpecialLog.php.
References $s, array(), Html\closeElement(), Html\element(), SpecialPage\getTitleFor(), SpecialPage\getUser(), global, Html\hidden(), SpecialPage\msg(), Html\openElement(), and text.
Referenced by show().
SpecialLog::parseParams | ( | FormOptions $ | opts, |
$ | par | ||
) | [private] |
Definition at line 115 of file SpecialLog.php.
References array(), global, and FormOptions\setValue().
Referenced by execute().
SpecialLog::show | ( | FormOptions $ | opts, |
array $ | extraConds | ||
) | [private] |
Definition at line 133 of file SpecialLog.php.
References addHeader(), SpecialPage\getContext(), SpecialPage\getOutput(), getRevisionButton(), SpecialPage\getSkin(), FormOptions\getValue(), User\newFromName(), and LogEventsList\USE_REVDEL_CHECKBOXES.
Referenced by execute().
SpecialLog::$typeOnUser [private] |
array( 'block', 'newusers', 'rights', )
List log type for which the target is a user Thus if the given target is in NS_MAIN we can alter it to be an NS_USER Title user instead.
Definition at line 37 of file SpecialLog.php.