Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -339,7 +339,7 @@ |
340 | 340 | // Add to main language category if the level is not zero. |
341 | 341 | if ( $wgBabelUseMainCategories && ( $level === 'N' || ( $wgBabelUseLevelZeroCategory && $level === '0' ) || $level > 0 ) ) { |
342 | 342 | // Add category wikitext to box tower. |
343 | | - $r .= "[[Category:{$this->_addFixes( $code,'category' )}|$level{$wgUser->getName()}]]"; |
| 343 | + $r .= "[[Category:{$this->_addFixes( $code,'category' )}|$level]]"; |
344 | 344 | |
345 | 345 | BabelAutoCreate::create( $this->_addFixes( "$code", 'category' ), BabelLanguageCodes::getName( $code ) ); |
346 | 346 | } |
— | — | @@ -349,7 +349,7 @@ |
350 | 350 | if ( !$wgBabelUseSimpleCategories && ( $level === 'N' || ( $wgBabelUseLevelZeroCategory && $level === '0' ) || $level > 0 ) ) { |
351 | 351 | |
352 | 352 | // Add category wikitext to box tower. |
353 | | - $r .= "[[Category:{$this->_addFixes( "$code-$level",'category' )}|{$wgUser->getName()}]]"; |
| 353 | + $r .= "[[Category:{$this->_addFixes( "$code-$level",'category' )}]]"; |
354 | 354 | |
355 | 355 | BabelAutoCreate::create( $this->_addFixes( "$code-$level", 'category' ), $level, BabelLanguageCodes::getName( $code ) ); |
356 | 356 | |