* Format the category data list.
*
* @return string HTML output
- * @private
*/
- function getHTML() {
+ public function getHTML() {
global $wgOut, $wgCategoryMagicGallery, $wgContLang;
wfProfileIn( __METHOD__ );
*/
function addSubcategoryObject( Category $cat, $sortkey, $pageLength ) {
// Subcategory; strip the 'Category' namespace from the link text.
+ $title = $cat->getTitle();
$this->children[] = $this->getSkin()->link(
- $cat->getTitle(),
- null,
+ $title,
+ $title->getText(),
array(),
array(),
array( 'known', 'noclasses' )