MediaWiki
REL1_22
|
This class formats delete log entries. More...
Public Member Functions | |
getActionLinks () | |
Returns extra links that comes after the action text, like "revert", etc. | |
Protected Member Functions | |
getMessageKey () | |
Returns a key to be used for formatting the action sentence. | |
getMessageParameters () | |
Formats parameters intented for action message from array of all parameters. | |
parseBitField ($string) |
This class formats delete log entries.
Definition at line 31 of file DeleteLogFormatter.php.
Returns extra links that comes after the action text, like "revert", etc.
Reimplemented from LogFormatter.
Definition at line 96 of file DeleteLogFormatter.php.
References $key, $params, $query, $revert, $user, array(), LogPage\DELETED_ACTION, LogFormatter\extractParameters(), SpecialPage\getTitleFor(), Linker\linkKnown(), and LogFormatter\msg().
DeleteLogFormatter::getMessageKey | ( | ) | [protected] |
Returns a key to be used for formatting the action sentence.
Default is logentry-TYPE-SUBTYPE for modern logs. Legacy log types will use custom keys, and subclasses can also alter the key depending on the entry itself.
Reimplemented from LogFormatter.
Definition at line 32 of file DeleteLogFormatter.php.
References $key, array(), and getMessageParameters().
DeleteLogFormatter::getMessageParameters | ( | ) | [protected] |
Formats parameters intented for action message from array of all parameters.
There are three hardcoded parameters (array is zero-indexed, this list not):
Reimplemented from LogFormatter.
Definition at line 42 of file DeleteLogFormatter.php.
References $count, $params, array(), as, RevisionDeleter\getChanges(), list, LogFormatter\msg(), and parseBitField().
Referenced by getMessageKey().
DeleteLogFormatter::parseBitField | ( | $ | string | ) | [protected] |
Definition at line 86 of file DeleteLogFormatter.php.
References list.
Referenced by getMessageParameters().