r48932 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48931‎ | r48932 | r48933 >
Date:20:34, 27 March 2009
Author:demon
Status:ok
Tags:
Comment:
Fix my own stupid error. I *always* call it wfMemc() instead of wfMemcKey().
Modified paths:
  • /trunk/extensions/Interlanguage/Interlanguage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Interlanguage/Interlanguage.php
@@ -52,7 +52,7 @@
5353
5454 $url = $wgInterlanguageExtensionApiUrl . "?action=query&prop=langlinks&" .
5555 "lllimit=500&format=php&redirects&titles=" . strtr( $param, ' ', '_' );
56 - $key = wfMemc( 'Interlanguage', md5( $url ) );
 56+ $key = wfMemcKey( 'Interlanguage', md5( $url ) );
5757 $res = $wgMemc->get( $key );
5858
5959 if ( !$res ) {

Status & tagging log