[go: up one dir, main page]

r23771 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23770‎ | r23771 | r23772 >
Date:07:08, 6 July 2007
Author:werdna
Status:old
Tags:
Comment:
After further thought, put undo on page history for everyone. Discussion welcome.
Modified paths:
  • /trunk/phase3/includes/PageHistory.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/PageHistory.php
@@ -248,7 +248,7 @@
249249 $s .= ' '.$this->mSkin->generateRollback( $rev );
250250 }
251251
252 - if ( $wgUser->isAllowed( 'rollback' ) && !is_null($next)) {
 252+ if ( !is_null($next)) {
253253 $undolink = $this->mSkin->makeKnownLinkObj(
254254 $this->mTitle, '('.htmlspecialchars( wfMsg( 'editundo' ) ).')',
255255 'action=edit&undoafter=' . $next->rev_id . '&undo=' . $rev->getId(),

Follow-up revisions

RevisionCommit summaryAuthorDate
r23912Merged revisions 23662-23909 via svnmerge from...david18:11, 9 July 2007

Status & tagging log