r107720 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107719‎ | r107720 | r107721 >
Date:11:54, 31 December 2011
Author:ialex
Status:ok
Tags:
Comment:
Per Nikerabbit, fix for r107653: don't show the "missing revision" warning on non-existing page (obviously)
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1862,7 +1862,7 @@
18631863 $this->mArticle->setOldSubtitle( $revision->getId() );
18641864 $wgOut->addWikiMsg( 'editingold' );
18651865 }
1866 - } else {
 1866+ } elseif ( $this->mTitle->exists() ) {
18671867 // Something went wrong
18681868
18691869 $wgOut->wrapWikiMsg( "<div class='errorbox'>\n$1\n</div>\n",

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107653* Inverted the precedence between section edition and revision undoing, now u...ialex20:43, 30 December 2011

Status & tagging log