From: Brion Vibber Date: Wed, 11 Jul 2007 14:50:03 +0000 (+0000) Subject: Revert r23999 -- too-specific class names are annoying and unmaintainable. X-Git-Tag: 1.31.0-rc.0~52137 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=4c29b6ef120cb3424788ee347be327bf98d2430f;p=lhc%2Fweb%2Fwiklou.git Revert r23999 -- too-specific class names are annoying and unmaintainable. This is CSS -- use selectors for that! --- diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index c66a083dfa..d659ed5dbb 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -157,7 +157,7 @@ CONTROL; $rollback = ''; } if( $wgUseRCPatrol && $this->mRcidMarkPatrolled != 0 && $wgUser->isAllowed( 'patrol' ) ) { - $patrol = ' [' . $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'markaspatrolleddiff' ), "action=markpatrolled&rcid={$this->mRcidMarkPatrolled}" ) . ']'; + $patrol = ' [' . $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'markaspatrolleddiff' ), "action=markpatrolled&rcid={$this->mRcidMarkPatrolled}" ) . ']'; } else { $patrol = ''; } @@ -573,7 +573,7 @@ CONTROL; $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' ); $this->mNewtitle = "{$this->mPagetitle} ($timestamp)" - . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; + . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; } else { $newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid ); @@ -581,7 +581,7 @@ CONTROL; $this->mPagetitle = htmlspecialchars( wfMsg( 'revisionasof', $timestamp ) ); $this->mNewtitle = "{$this->mPagetitle}" - . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; + . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; } // Load the old revision object @@ -611,10 +611,10 @@ CONTROL; $oldLink = $this->mOldPage->escapeLocalUrl( 'oldid=' . $this->mOldid ); $oldEdit = $this->mOldPage->escapeLocalUrl( 'action=edit&oldid=' . $this->mOldid ); $this->mOldtitle = "" . htmlspecialchars( wfMsg( 'revisionasof', $t ) ) - . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; + . " (" . htmlspecialchars( wfMsg( 'editold' ) ) . ")"; //now that we considered old rev, we can make undo link (bug 8133, multi-edit undo) $newUndo = $this->mNewPage->escapeLocalUrl( 'action=edit&undoafter=' . $this->mOldid . '&undo=' . $this->mNewid); - $this->mNewtitle .= " (" . htmlspecialchars( wfMsg( 'editundo' ) ) . ")"; + $this->mNewtitle .= " (" . htmlspecialchars( wfMsg( 'editundo' ) ) . ")"; } return true;