$this->mNewPage = $this->mNewRev->getTitle();
if( $this->mNewRev->isCurrent() ) {
$newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid );
- $this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) );
+ $this->mPagetitle = wfMsgHTML( 'currentrev-asof', $timestamp );
$newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' );
- $this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a> ($timestamp)";
+ $this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a>";
$this->mNewtitle .= " (<a href='$newEdit'>" . wfMsgHtml( $editable ? 'editold' : 'viewsourceold' ) . "</a>)";
} else {
'revnotfoundtext' => 'The old revision of the page you asked for could not be found.
Please check the URL you used to access this page.',
'currentrev' => 'Current revision',
+'currentrev-asof' => 'Current revision as of $1',
'revisionasof' => 'Revision as of $1',
'revision-info' => 'Revision as of $1 by $2',
'revision-info-current' => '-', # do not translate or duplicate this message to other languages