5 $lang = $this->context->getLanguage();
6 $params = parent::getMessageParameters();
14 || $this->entry->getSubtype() !==
'change'
15 || !$this->context->getUser()->isAllowed(
'editcontentmodel' )
22 SpecialPage::getTitleFor(
'ChangeContentModel' ),
23 $this->
msg(
'logentry-contentmodel-change-revertlink' )->
text(),
26 'pagetitle' => $this->entry->getTarget()->getPrefixedText(),
28 'reason' => $this->msg(
'logentry-contentmodel-change-revert' )->inContentLanguage()->text(),
32 return $this->
msg(
'parentheses' )->rawParams(
$revert )->escaped();
This list may contain false positives That usually means there is additional text with links below the first Each row contains links to the first and second as well as the first line of the second redirect text
getActionLinks()
Returns extra links that comes after the action text, like "revert", etc.
getMessageParameters()
Formats parameters intented for action message from array of all parameters.
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters create2 Corresponds to logging log_action database field and which is displayed in the UI & $revert
if(!isset( $args[0])) $lang