Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -254,18 +254,18 @@ |
255 | 255 | |
256 | 256 | $text = wfMsgExt( "babel-$level-n", |
257 | 257 | array( 'language' => $language, 'parsemag' ), |
258 | | - $categoryMain, $categoryMain, '', self::$title->getDBkey() |
| 258 | + $categoryLevel, $categoryMain, '', self::$title->getDBkey() |
259 | 259 | ); |
260 | 260 | |
261 | 261 | $fallback = wfMsgExt( "babel-$level-n", |
262 | 262 | array( 'language' => Language::getFallbackfor( $language ), 'parsemag' ), |
263 | | - $categoryMain, $categoryMain, '', self::$title->getDBkey() |
| 263 | + $categoryLevel, $categoryMain, '', self::$title->getDBkey() |
264 | 264 | ); |
265 | 265 | |
266 | 266 | if ( $text == $fallback ) { |
267 | 267 | $text = wfMsgExt( "babel-$level", |
268 | 268 | array( 'language' => $language, 'parsemag' ), |
269 | | - $categoryMain, $categoryMain, $name, self::$title->getDBkey() |
| 269 | + $categoryLevel, $categoryMain, $name, self::$title->getDBkey() |
270 | 270 | ); |
271 | 271 | } |
272 | 272 | |