Fixed r51002 by also reverting r49856.

This commit is contained in:
Tim Starling 2009-05-27 06:17:56 +00:00
parent d0c62f44ce
commit 28959f9548

View file

@ -616,8 +616,10 @@ class CategoryTree {
#when showing only categories, omit namespace in label unless we explicitely defined the configuration setting
#patch contributed by Manuel Schneider <manuel.schneider@wikimedia.ch>, Bug 8011
if ( $hideprefix ) $label = $wgContLang->convertHtml( $title->getText(), true );
else $label = $wgContLang->convertHtml( $title->getPrefixedText(), true );
if ( $hideprefix ) $label = htmlspecialchars( $title->getText() );
else $label = htmlspecialchars( $title->getPrefixedText() );
$label = $wgContLang->convert( $label, true );
if ( $trans && $trans!=$label ) $label.= ' ' . Xml::element( 'i', array( 'class' => 'translation'), $trans );