From: Tim Starling Date: Mon, 14 Jun 2004 04:27:25 +0000 (+0000) Subject: fixed bug with interwiki prefixes in the URL, apparently this was fixed in 1.2 but... X-Git-Tag: 1.5.0alpha1~2856 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=58bbaf4683310e89773f0eaad1f6824569fce045;p=lhc%2Fweb%2Fwiklou.git fixed bug with interwiki prefixes in the URL, apparently this was fixed in 1.2 but not in HEAD --- diff --git a/includes/Title.php b/includes/Title.php index 2b6603ac73..8d44acae30 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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";