* (bug 13159) Use content language for name of Category:Hidden categories
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 26 Feb 2008 09:36:43 +0000 (09:36 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 26 Feb 2008 09:36:43 +0000 (09:36 +0000)
includes/Parser.php

index 81d182e..c94e5d4 100644 (file)
@@ -3290,7 +3290,7 @@ class Parser
                if ( isset( $this->mDoubleUnderscores['hiddencat'] ) ) {
                        $this->mOutput->setProperty( 'hiddencat', 'y' );
 
-                       $containerCategory = Title::makeTitleSafe( NS_CATEGORY, wfMsg( 'hidden-category-category' ) );
+                       $containerCategory = Title::makeTitleSafe( NS_CATEGORY, wfMsgForContent( 'hidden-category-category' ) );
                        if ( $containerCategory ) {
                                $this->mOutput->addCategory( $containerCategory->getDBkey(), $this->getDefaultSort() );
                        } else {