Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -248,12 +248,13 @@ |
249 | 249 | $s .= ' '.$this->mSkin->generateRollback( $rev ); |
250 | 250 | } |
251 | 251 | |
252 | | - if ( !is_null($next)) { |
| 252 | + if ( !is_null( $next ) ) { |
253 | 253 | $undolink = $this->mSkin->makeKnownLinkObj( |
254 | | - $this->mTitle, '('.htmlspecialchars( wfMsg( 'editundo' ) ).')', |
255 | | - 'action=edit&undoafter=' . $next->rev_id . '&undo=' . $rev->getId(), |
256 | | - '', '', '', null ); |
257 | | - $s .= ' <span class="mw-history-undo"> '."$undolink </span>"; |
| 254 | + $this->mTitle, |
| 255 | + '(' . wfMsgHtml( 'editundo' ) . ')', |
| 256 | + 'action=edit&undoafter=' . $next->rev_id . '&undo=' . $rev->getId() |
| 257 | + ); |
| 258 | + $s .= " <span class=\"mw-history-undo\">{$undolink}</span>"; |
258 | 259 | } |
259 | 260 | |
260 | 261 | wfRunHooks( 'PageHistoryLineEnding', array( &$row , &$s ) ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -122,8 +122,7 @@ |
123 | 123 | * (bug 10438) HTML TeX formulas should not wrap |
124 | 124 | * Introduce "raw editing" mode for the watchlist, to allow bulk additions, |
125 | 125 | removals, and convenient exporting of watchlist contents |
126 | | -* Put an (undo) button on the page history page, for people with rollback |
127 | | - permission only |
| 126 | +* Show "undo" links in page histories |
128 | 127 | * Option to jump to specified time period in user contributions |
129 | 128 | |
130 | 129 | == Bugfixes since 1.10 == |