Index: branches/REL1_18/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -298,7 +298,7 @@ |
299 | 299 | * load CategoryTreeFunctions.php on demand. |
300 | 300 | */ |
301 | 301 | function ajax( $category, $depth = 1 ) { |
302 | | - global $wgContLang, $wgRenderHashAppend; |
| 302 | + global $wgLang, $wgContLang, $wgRenderHashAppend; |
303 | 303 | $title = self::makeTitle( $category ); |
304 | 304 | |
305 | 305 | if ( ! $title ) { |
— | — | @@ -314,7 +314,7 @@ |
315 | 315 | 'page_title' => $dbkey, |
316 | 316 | ), __METHOD__ ); |
317 | 317 | |
318 | | - $mckey = wfMemcKey( "categorytree(" . $this->getOptionsAsCacheKey( $depth ) . ")", $dbkey, $wgContLang->getExtraHashOptions(), $wgRenderHashAppend ); |
| 318 | + $mckey = wfMemcKey( "categorytree(" . $this->getOptionsAsCacheKey( $depth ) . ")", $dbkey, $wgLang->getCode(), $wgContLang->getExtraHashOptions(), $wgRenderHashAppend ); |
319 | 319 | |
320 | 320 | $response = new AjaxResponse(); |
321 | 321 | |