From 270e93658c577284f1a13dea53d06314b1f7166f Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 18 Feb 2005 12:38:09 +0000 Subject: [PATCH] Restrict interwiki redirects to local wikis only --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1