* (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
[lhc/web/wiklou.git] / includes / Article.php
index 50fca0b..5c325c5 100644 (file)
@@ -141,10 +141,7 @@ class Article {
 
                wfProfileIn( __METHOD__ );
 
-               // We want to show the content even if the page doesn't exist, as long
-               // as the revision does (perhaps it's been moved and the redirect
-               // deleted: bug 10377)
-               if ( 0 == $this->getID() and !$this->mOldId ) {
+               if ( 0 == $this->getID() ) {
                        wfProfileOut( __METHOD__ );
                        $wgOut->setRobotpolicy( 'noindex,nofollow' );