From: Tim Starling Date: Sat, 3 Sep 2005 01:13:35 +0000 (+0000) Subject: Cache interwiki prefixes with a canonical case X-Git-Tag: 1.6.0~1729 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=fe782d2b64265ec58291b6b0a60aa5de5ce397cc;p=lhc%2Fweb%2Fwiklou.git Cache interwiki prefixes with a canonical case --- diff --git a/includes/Title.php b/includes/Title.php index 3c38f45021..5d4b1fdf84 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -393,6 +393,8 @@ class Title { wfProfileIn( $fname ); + $key = strtolower( $key ); + $k = $wgDBname.':interwiki:'.$key; if( array_key_exists( $k, $wgTitleInterwikiCache ) ) { wfProfileOut( $fname );