Bug: T228766
Change-Id: Iaca54e1ceefc73815fe3d9898ca490b74d11dac6
if ( $this->mNewRev->isCurrent() && $permissionManager->userCan(
'rollback', $user, $this->mNewPage
) ) {
- $rollbackLink = Linker::generateRollback( $this->mNewRev, $this->getContext() );
+ $rollbackLink = Linker::generateRollback( $this->mNewRev, $this->getContext(),
+ [ 'noBrackets' ] );
if ( $rollbackLink ) {
$out->preventClickjacking();
$rollback = "\u{00A0}\u{00A0}\u{00A0}" . $rollbackLink;