fixed bug with interwiki prefixes in the URL, apparently this was fixed in 1.2 but...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 14 Jun 2004 04:27:25 +0000 (04:27 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 14 Jun 2004 04:27:25 +0000 (04:27 +0000)
includes/Title.php

index 2b6603a..8d44aca 100644 (file)
@@ -235,8 +235,7 @@ class Title {
        # The URL contains $1, which is replaced by the title
        function getInterwikiLink( $key )
        {       
-               global $wgMemc, $wgDBname, $wgInterwikiExpiry;
-               static $wgTitleInterwikiCache = array();
+               global $wgMemc, $wgDBname, $wgInterwikiExpiry, $wgTitleInterwikiCache;
 
                $k = "$wgDBname:interwiki:$key";