16 || $this->entry->getSubtype() !==
'change'
17 || !MediaWikiServices::getInstance()
18 ->getPermissionManager()
19 ->userHasRight( $this->context->getUser(),
'editcontentmodel' )
26 SpecialPage::getTitleFor(
'ChangeContentModel' ),
27 $this->
msg(
'logentry-contentmodel-change-revertlink' )->text(),
30 'pagetitle' => $this->entry->getTarget()->getPrefixedText(),
31 'model' => $params[3],
32 'reason' => $this->msg(
'logentry-contentmodel-change-revert' )->inContentLanguage()->text(),
36 return $this->
msg(
'parentheses' )->rawParams( $revert )->escaped();