* Removed a redundant <strong> tag from diff pages that was causing display issues for some users (patch based on one by Patrick Collison/adxp)
This commit is contained in:
parent
36b8d68f26
commit
fd3c4bd537
2 changed files with 9 additions and 8 deletions
|
|
@ -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 <strong> tag from diff pages that was causing display issues for some users
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = "<strong>{$this->mOldtitle}</strong><br />" .
|
||||
$sk->revUserTools( $this->mOldRev ) . "<br />" .
|
||||
|
|
@ -523,8 +523,8 @@ CONTROL;
|
|||
$newLink = $this->mNewPage->escapeLocalUrl();
|
||||
$this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) );
|
||||
$newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' );
|
||||
|
||||
$this->mNewtitle = "<strong><a href='$newLink'>{$this->mPagetitle}</a> ($timestamp)</strong>"
|
||||
|
||||
$this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a> ($timestamp)"
|
||||
. " (<a href='$newEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)";
|
||||
|
||||
} 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 = "<strong><a href='$newLink'>{$this->mPagetitle}</a></strong>"
|
||||
|
||||
$this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a>"
|
||||
. " (<a href='$newEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)"
|
||||
. " (<a href='$newUndo'>" . htmlspecialchars( wfMsg( 'editundo' ) ) . "</a>)";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue