Remove a single space that breaks a parser test
[lhc/web/wiklou.git] / includes / CategoryPage.php
index 84bf394..5070c1b 100644 (file)
@@ -3,10 +3,11 @@
  * Special handling for category description pages
  * Modelled after ImagePage.php
  *
-*/
+ * @package MediaWiki
+ */
 
 /**
- *
+ * @package MediaWiki 
  */
 class CategoryPage extends Article {
 
@@ -190,8 +191,8 @@ 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>";
                                                 }
@@ -285,13 +286,7 @@ class CategoryPage extends Article {
                         }
                         $r .= '</ul>';
                 }
-
-
                 return $r ;
         }
-
-
 }
-
-
 ?>