From: Brion Vibber Date: Fri, 18 Feb 2005 12:38:09 +0000 (+0000) Subject: Restrict interwiki redirects to local wikis only X-Git-Tag: 1.5.0alpha1~721 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=270e93658c577284f1a13dea53d06314b1f7166f;p=lhc%2Fweb%2Fwiklou.git Restrict interwiki redirects to local wikis only --- diff --git a/includes/Article.php b/includes/Article.php index d2723722cf..cd97451136 100644 --- 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; }