From 6ca27fc95fa6519aacee7ea880f0ad3b5342b884 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20Stojni=C4=87?= Date: Thu, 29 May 2008 20:48:57 +0000 Subject: [PATCH] (bug 13034) can again use Go button to go to interwiki pages. Couldn't figure out what broke it in the first place however --- RELEASE-NOTES | 1 + includes/SearchEngine.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5024160cd1..00de0749dd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -313,6 +313,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13826) MediaWiki:Defaultns accepts Wikicode * (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit set to true +* (bug 13034) Interwiki pages can now be reached using Go search button === API changes in 1.13 === diff --git a/includes/SearchEngine.php b/includes/SearchEngine.php index 50231d3c93..04fa906a00 100644 --- a/includes/SearchEngine.php +++ b/includes/SearchEngine.php @@ -66,7 +66,8 @@ class SearchEngine { if (is_null($title)) return NULL; - if ( $title->getNamespace() == NS_SPECIAL || $title->exists() ) { + if ( $title->getNamespace() == NS_SPECIAL || $title->isExternal() + || $title->exists() ) { return $title; } -- 2.20.1