dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd5121
)
fixed redirects from one namespace to another
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 20 Aug 2005 11:42:19 +0000
(11:42 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 20 Aug 2005 11:42:19 +0000
(11:42 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
d68c103
..
c9b09ad
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-149,9
+149,8
@@
if( !$wgDisableInternalSearch && !is_null( $search ) && $search !== '' ) {
$wgArticle = new Article( $wgTitle );
$rTitle = Title::newFromRedirect( $wgArticle->fetchContent() );
if($rTitle) {
- if( $rTitle->getNamespace() == $ns ) {
- $wgArticle->mContentLoaded=false;
- }
+ # Reload from the page pointed to later
+ $wgArticle->mContentLoaded = false;
$ns = $rTitle->getNamespace();
}
}