MediaWiki
REL1_22
|
This class formats all log entries for log types which have not been converted to the new system. More...
Public Member Functions | |
getActionLinks () | |
Returns extra links that comes after the action text, like "revert", etc. | |
getComment () | |
Gets the luser provided comment. | |
Protected Member Functions | |
getActionMessage () | |
Returns a sentence describing the log action. | |
Private Attributes | |
string null | $comment = null |
Backward compatibility for extension changing the comment from the LogLine hook. | |
string null | $revert = null |
Cache for the result of getActionLinks() so that it does not need to run multiple times depending on the order that getComment() and getActionLinks() are called. |
This class formats all log entries for log types which have not been converted to the new system.
This is not about old log entries which store parameters in a different format - the new LogFormatter classes have code to support formatting those too.
Definition at line 668 of file LogFormatter.php.
Returns extra links that comes after the action text, like "revert", etc.
Reimplemented from LogFormatter.
Definition at line 721 of file LogFormatter.php.
LegacyLogFormatter::getActionMessage | ( | ) | [protected] |
Returns a sentence describing the log action.
Usually a Message object is returned, but old style log types and entries might return pre-escaped html string.
Reimplemented from LogFormatter.
Definition at line 702 of file LogFormatter.php.
Gets the luser provided comment.
Reimplemented from LogFormatter.
Definition at line 688 of file LogFormatter.php.
string null LegacyLogFormatter::$comment = null [private] |
Backward compatibility for extension changing the comment from the LogLine hook.
This will be set by the first call on getComment(), then it might be modified by the hook when calling getActionLinks(), so that the modified value will be returned when calling getComment() a second time.
Definition at line 678 of file LogFormatter.php.
string null LegacyLogFormatter::$revert = null [private] |
Cache for the result of getActionLinks() so that it does not need to run multiple times depending on the order that getComment() and getActionLinks() are called.
Definition at line 686 of file LogFormatter.php.