Merge "Pass the amount of hidden categories as a parameter to the hidden-categories i18n message"

isekai
jenkins-bot 7 years ago committed by Gerrit Code Review
commit 4d8b5b52b9

@ -771,7 +771,11 @@ class TimelessTemplate extends BaseTemplate {
$catList .= $this->getCatList( $normalCats, 'catlist-normal', 'categories' );
}
if ( $hiddenCount ) {
$catList .= $this->getCatList( $hiddenCats, 'catlist-hidden', 'hidden-categories' );
$catList .= $this->getCatList(
$hiddenCats,
'catlist-hidden',
[ 'hidden-categories', $hiddenCount ]
);
}
}
}
@ -787,7 +791,7 @@ class TimelessTemplate extends BaseTemplate {
*
* @param array $list
* @param string $id
* @param string $message
* @param string|array $message i18n message name or an array of [ message name, params ]
*
* @return string html
*/

Loading…
Cancel
Save