if ( count( $hiddencats ) > 0 ) {
# Construct the HTML
$outText = '<div class="mw-hiddenCategoriesExplanation">';
- $outText .= wfMsgExt( 'hiddencategories', array( 'parse' ) );
+ $outText .= wfMsgExt( 'hiddencategories', array( 'parse' ), count( $hiddencats ) );
$outText .= '</div><ul>';
foreach ( $hiddencats as $titleObj ) {
wfProfileOut( __METHOD__ );
return $outText;
}
-
+
/**
* Format a size in bytes for output, using an appropriate
* unit (B, KB, MB or GB) according to the magnitude in question
'templatesusedsection' => 'Templates used in this section:',
'template-protected' => '(protected)',
'template-semiprotected' => '(semi-protected)',
-'hiddencategories' => 'Hidden categories this page is a member of:',
+'hiddencategories' => '{{PLURAL:$1|Hidden category|Hidden categories}} this page is a member of:',
'edittools' => '<!-- Text here will be shown below edit and upload forms. -->', # only translate this message to other languages if you have to change it
'nocreatetitle' => 'Page creation limited',
'nocreatetext' => '{{SITENAME}} has restricted the ability to create new pages.