MediaWiki
REL1_21
|
This class formats rights log entries. More...
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. | |
makePageLink (Title $title=null, $parameters=array()) | |
Helper to make a link to the page, taking the plaintext value in consideration. |
RightsLogFormatter::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 1145 of file LogFormatter.php.
RightsLogFormatter::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 1154 of file LogFormatter.php.
RightsLogFormatter::makePageLink | ( | Title $ | title = null , |
$ | parameters = array() |
||
) | [protected] |
Helper to make a link to the page, taking the plaintext value in consideration.
$title | Title the page | |
array | $parameters | query parameters |
MWException |
Reimplemented from LogFormatter.
Definition at line 1125 of file LogFormatter.php.