dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
[lhc/web/wiklou.git]
/
includes
/
Article.php
diff --git
a/includes/Article.php
b/includes/Article.php
index
50fca0b
..
5c325c5
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-141,10
+141,7
@@
class Article {
wfProfileIn( __METHOD__ );
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' );
wfProfileOut( __METHOD__ );
$wgOut->setRobotpolicy( 'noindex,nofollow' );