Index: trunk/phase3/includes/DifferenceEngine.php |
— | — | @@ -157,7 +157,7 @@ |
158 | 158 | $rollback = ''; |
159 | 159 | } |
160 | 160 | if( $wgUseRCPatrol && $this->mRcidMarkPatrolled != 0 && $wgUser->isAllowed( 'patrol' ) ) { |
161 | | - $patrol = ' [' . $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'markaspatrolleddiff' ), "action=markpatrolled&rcid={$this->mRcidMarkPatrolled}" ) . ']'; |
| 161 | + $patrol = '<span class="mw-diff-patrol"> [' . $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'markaspatrolleddiff' ), "action=markpatrolled&rcid={$this->mRcidMarkPatrolled}" ) . ']</span>'; |
162 | 162 | } else { |
163 | 163 | $patrol = ''; |
164 | 164 | } |
— | — | @@ -573,7 +573,7 @@ |
574 | 574 | $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' ); |
575 | 575 | |
576 | 576 | $this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a> ($timestamp)" |
577 | | - . " (<a href='$newEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)"; |
| 577 | + . "<span class=\"mw-diff-edit\"> (<a href='$newEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)</span>"; |
578 | 578 | |
579 | 579 | } else { |
580 | 580 | $newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid ); |
— | — | @@ -581,7 +581,7 @@ |
582 | 582 | $this->mPagetitle = htmlspecialchars( wfMsg( 'revisionasof', $timestamp ) ); |
583 | 583 | |
584 | 584 | $this->mNewtitle = "<a href='$newLink'>{$this->mPagetitle}</a>" |
585 | | - . " (<a href='$newEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)"; |
| 585 | + . "<span class=\"mw-diff-edit\"> (<a href='$newEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)</span>"; |
586 | 586 | } |
587 | 587 | |
588 | 588 | // Load the old revision object |
— | — | @@ -611,10 +611,10 @@ |
612 | 612 | $oldLink = $this->mOldPage->escapeLocalUrl( 'oldid=' . $this->mOldid ); |
613 | 613 | $oldEdit = $this->mOldPage->escapeLocalUrl( 'action=edit&oldid=' . $this->mOldid ); |
614 | 614 | $this->mOldtitle = "<a href='$oldLink'>" . htmlspecialchars( wfMsg( 'revisionasof', $t ) ) |
615 | | - . "</a> (<a href='$oldEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)"; |
| 615 | + . "</a><span class=\"mw-diff-edit\"> (<a href='$oldEdit'>" . htmlspecialchars( wfMsg( 'editold' ) ) . "</a>)</span>"; |
616 | 616 | //now that we considered old rev, we can make undo link (bug 8133, multi-edit undo) |
617 | 617 | $newUndo = $this->mNewPage->escapeLocalUrl( 'action=edit&undoafter=' . $this->mOldid . '&undo=' . $this->mNewid); |
618 | | - $this->mNewtitle .= " (<a href='$newUndo'>" . htmlspecialchars( wfMsg( 'editundo' ) ) . "</a>)"; |
| 618 | + $this->mNewtitle .= "<span class=\"mw-diff-undo\"> (<a href='$newUndo'>" . htmlspecialchars( wfMsg( 'editundo' ) ) . "</a>)</span>"; |
619 | 619 | } |
620 | 620 | |
621 | 621 | return true; |