MediaWiki
REL1_19
|
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. | |
Private Member Functions | |
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 44 of file SpecialLog.php.
SpecialLog::addHeader | ( | $ | type | ) | [protected] |
Set page title and show header for this log type.
$type | string |
Definition at line 170 of file SpecialLog.php.
References $page, and SpecialPage\getOutput().
Referenced by show().
SpecialLog::execute | ( | $ | par | ) |
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
$par | String subpage string, if one was specified |
Reimplemented from SpecialPage.
Definition at line 48 of file SpecialLog.php.
References $wgLogRestrictions, FormOptions\add(), false, SpecialPage\getRequest(), SpecialPage\getUser(), FormOptions\INTNULL, IP\isIPAddress(), LogPage\isLogType(), Title\makeTitleSafe(), User\newFromName(), Title\newFromText(), SpecialPage\outputHeader(), parseParams(), SpecialPage\setHeaders(), and show().
SpecialLog::parseParams | ( | FormOptions $ | opts, |
$ | par | ||
) | [private] |
Definition at line 116 of file SpecialLog.php.
References $wgLogTypes, and FormOptions\setValue().
Referenced by execute().
SpecialLog::show | ( | FormOptions $ | opts, |
array $ | extraConds | ||
) | [private] |
Definition at line 132 of file SpecialLog.php.
References addHeader(), SpecialPage\getOutput(), SpecialPage\getSkin(), FormOptions\getValue(), and User\newFromName().
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 38 of file SpecialLog.php.