diff --git a/RELEASE-NOTES b/RELEASE-NOTES index de5f347e500..7fdfc9299f7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -260,6 +260,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * DB schema change: added two columns (rc_old_len and rc_new_len) to the recentchanges table to store the text lengths before and after the edit * (bug 1085) Made Special:Recentchanges show the character difference between the changed revisions +* Removed a redundant tag from diff pages that was causing display issues for some users diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index adc8f08e74a..c423ebcb838 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -171,10 +171,10 @@ CONTROL; wfMsg( 'minoreditletter') ) . ' '; } - if ($this->mNewRev->mMinorEdit == 1) { - $newminor = wfElement( 'span', array( 'class' => 'minor' ), - wfMsg( 'minoreditletter') ) . ' '; - } + if ($this->mNewRev->mMinorEdit == 1) { + $newminor = wfElement( 'span', array( 'class' => 'minor' ), + wfMsg( 'minoreditletter') ) . ' '; + } $oldHeader = "{$this->mOldtitle}
" . $sk->revUserTools( $this->mOldRev ) . "
" . @@ -523,8 +523,8 @@ CONTROL; $newLink = $this->mNewPage->escapeLocalUrl(); $this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) ); $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' ); - - $this->mNewtitle = "{$this->mPagetitle} ($timestamp)" + + $this->mNewtitle = "{$this->mPagetitle} ($timestamp)" . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; } else { @@ -532,8 +532,8 @@ CONTROL; $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit&oldid=' . $this->mNewid ); $newUndo = $this->mNewPage->escapeLocalUrl( 'action=edit&undo=' . $this->mNewid ); $this->mPagetitle = htmlspecialchars( wfMsg( 'revisionasof', $timestamp ) ); - - $this->mNewtitle = "{$this->mPagetitle}" + + $this->mNewtitle = "{$this->mPagetitle}" . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")" . " (" . htmlspecialchars( wfMsg( 'editundo' ) ) . ")"; }