* Special handling for category description pages
* Modelled after ImagePage.php
*
-*/
+ * @package MediaWiki
+ */
/**
- *
+ * @package MediaWiki
*/
class CategoryPage extends Article {
$index++ )
{
// check for change of starting letter or begging of chunk
- if ( ($children_start_char[$index] != $children_start_char[$index - 1])
- || ($index == $startChunk) )
+ if ( ($index == $startChunk)
+ || ($children_start_char[$index] != $children_start_char[$index - 1]) )
{
$r .= "</ul><h3>{$children_start_char[$index]}</h3>\n<ul>";
}
}
$r .= '</ul>';
}
-
-
return $r ;
}
-
-
}
-
-
?>