|
MediaWiki
master
|
This class formats block log entries. More...


Public Member Functions | |
| formatParametersForApi () | |
| getActionLinks () | |
| getPreloadTitles () | |
Static Public Member Functions | |
| static | formatBlockFlag ($flag, $lang) |
| Translate a block log flag if possible. More... | |
| static | formatBlockFlags ($flags, $lang) |
| Convert a comma-delimited list of block log flags into a more readable (and translated) form. More... | |
Protected Member Functions | |
| extractParameters () | |
| getMessageParameters () | |
| getParametersForApi () | |
This class formats block log entries.
Definition at line 30 of file BlockLogFormatter.php.
|
protected |
Definition at line 70 of file BlockLogFormatter.php.
References $params.
|
static |
Translate a block log flag if possible.
Definition at line 149 of file BlockLogFormatter.php.
References $lang, $messages, and wfMessage().
|
static |
Convert a comma-delimited list of block log flags into a more readable (and translated) form.
| string | $flags | Flags to format |
| Language | $lang |
Definition at line 126 of file BlockLogFormatter.php.
References $flags, $lang, and wfMessage().
| BlockLogFormatter::formatParametersForApi | ( | ) |
Definition at line 217 of file BlockLogFormatter.php.
References $ret, and ApiResult\setIndexedTagName().
| BlockLogFormatter::getActionLinks | ( | ) |
Definition at line 92 of file BlockLogFormatter.php.
References $title, LogPage\DELETED_ACTION, SpecialPage\getTitleFor(), and Linker\linkKnown().
|
protected |
Definition at line 31 of file BlockLogFormatter.php.
References $params, $title, $username, User\newFromName(), Message\rawParam(), and Linker\TOOL_LINKS_NOBLOCK.
|
protected |
Definition at line 173 of file BlockLogFormatter.php.
References $params, as, TS_UNIX, wfIsInfinity(), and wfTimestamp().
| BlockLogFormatter::getPreloadTitles | ( | ) |
Definition at line 83 of file BlockLogFormatter.php.
References $title.