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:
6ada6c1
)
Restrict interwiki redirects to local wikis only
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 18 Feb 2005 12:38:09 +0000
(12:38 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 18 Feb 2005 12:38:09 +0000
(12:38 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
d272372
..
cd97451
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-320,7
+320,7
@@
class Article {
# the rest of the page we're on.
if( $globalTitle ) {
global $wgOut;
- if ( $rt->getInterwiki() != '' ) {
+ if ( $rt->getInterwiki() != ''
&& $rt->isLocal()
) {
$wgOut->redirect( $rt->getFullURL() ) ;
return false;
}