(bug 13034) can again use Go button to go to interwiki pages.
authorRobert Stojnić <rainman@users.mediawiki.org>
Thu, 29 May 2008 20:48:57 +0000 (20:48 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Thu, 29 May 2008 20:48:57 +0000 (20:48 +0000)
Couldn't figure out what broke it in the first place however

RELEASE-NOTES
includes/SearchEngine.php

index 5024160..00de074 100644 (file)
@@ -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 ===
 
index 50231d3..04fa906 100644 (file)
@@ -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;
                        }