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 @@
1863
1863
$this->mArticle->setOldSubtitle( $revision->getId() );
1864
1864
$wgOut->addWikiMsg( 'editingold' );
1865
1865
}
1866
- } else {
1866
+ } elseif ( $this->mTitle->exists() ) {
1867
1867
// Something went wrong
1868
1868
1869
1869
$wgOut->wrapWikiMsg( "<div class='errorbox'>\n$1\n</div>\n",
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r107653
* Inverted the precedence between section edition and revision undoing, now u...
ialex
20:43, 30 December 2011
Status & tagging log
13:42, 31 December 2011
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r107720
[
removed:
new
added:
ok]