* (bug 10438) HTML TeX formulas should not wrap
* Introduce "raw editing" mode for the watchlist, to allow bulk additions,
removals, and convenient exporting of watchlist contents
-* Put an (undo) button on the page history page, for people with rollback
- permission only
+* Show "undo" links in page histories
* Option to jump to specified time period in user contributions
== Bugfixes since 1.10 ==
$s .= ' '.$this->mSkin->generateRollback( $rev );
}
- if ( !is_null($next)) {
+ if ( !is_null( $next ) ) {
$undolink = $this->mSkin->makeKnownLinkObj(
- $this->mTitle, '('.htmlspecialchars( wfMsg( 'editundo' ) ).')',
- 'action=edit&undoafter=' . $next->rev_id . '&undo=' . $rev->getId(),
- '', '', '', null );
- $s .= ' <span class="mw-history-undo"> '."$undolink </span>";
+ $this->mTitle,
+ '(' . wfMsgHtml( 'editundo' ) . ')',
+ 'action=edit&undoafter=' . $next->rev_id . '&undo=' . $rev->getId()
+ );
+ $s .= " <span class=\"mw-history-undo\">{$undolink}</span>";
}
wfRunHooks( 'PageHistoryLineEnding', array( &$row , &$s ) );