After further thought, put undo on page history for everyone. Discussion welcome.
authorAndrew Garrett <werdna@users.mediawiki.org>
Fri, 6 Jul 2007 07:08:19 +0000 (07:08 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Fri, 6 Jul 2007 07:08:19 +0000 (07:08 +0000)
includes/PageHistory.php

index 7c21ed4..a89b75b 100644 (file)
@@ -248,7 +248,7 @@ class PageHistory {
                        $s .= ' '.$this->mSkin->generateRollback( $rev );
                }
 
-               if ( $wgUser->isAllowed( 'rollback' ) && !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(),