Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | * |
104 | 104 | * @return string HTML output |
105 | 105 | */ |
106 | | - function getHTML() { |
| 106 | + public function getHTML() { |
107 | 107 | global $wgOut, $wgCategoryMagicGallery, $wgContLang; |
108 | 108 | wfProfileIn( __METHOD__ ); |
109 | 109 | |
— | — | @@ -417,6 +417,7 @@ |
418 | 418 | * @param $articles_start_char Array |
419 | 419 | * @param $cutoff Int |
420 | 420 | * @return String |
| 421 | + * @private |
421 | 422 | */ |
422 | 423 | function formatList( $articles, $articles_start_char, $cutoff = 6 ) { |
423 | 424 | if ( count ( $articles ) > $cutoff ) { |
— | — | @@ -441,6 +442,7 @@ |
442 | 443 | * @param $articles Array |
443 | 444 | * @param $articles_start_char Array |
444 | 445 | * @return String |
| 446 | + * @private |
445 | 447 | */ |
446 | 448 | static function columnList( $articles, $articles_start_char ) { |
447 | 449 | $columns = array_combine( $articles, $articles_start_char ); |
— | — | @@ -492,6 +494,7 @@ |
493 | 495 | * @param $articles Array |
494 | 496 | * @param $articles_start_char Array |
495 | 497 | * @return String |
| 498 | + * @private |
496 | 499 | */ |
497 | 500 | static function shortList( $articles, $articles_start_char ) { |
498 | 501 | $r = '<h3>' . htmlspecialchars( $articles_start_char[0] ) . "</h3>\n"; |