From 2e8419f73832e1093856e8120dd2a8bad58a4592 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 6 Dec 2010 17:07:39 +0000 Subject: [PATCH] Per Hashar, r77819, @private comment. Explicit public method definition --- includes/CategoryPage.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 820e433ffb..5fcad49ff7 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -102,7 +102,7 @@ class CategoryViewer { * * @return string HTML output */ - function getHTML() { + public function getHTML() { global $wgOut, $wgCategoryMagicGallery, $wgContLang; wfProfileIn( __METHOD__ ); @@ -417,6 +417,7 @@ class CategoryViewer { * @param $articles_start_char Array * @param $cutoff Int * @return String + * @private */ function formatList( $articles, $articles_start_char, $cutoff = 6 ) { if ( count ( $articles ) > $cutoff ) { @@ -441,6 +442,7 @@ class CategoryViewer { * @param $articles Array * @param $articles_start_char Array * @return String + * @private */ static function columnList( $articles, $articles_start_char ) { $columns = array_combine( $articles, $articles_start_char ); @@ -492,6 +494,7 @@ class CategoryViewer { * @param $articles Array * @param $articles_start_char Array * @return String + * @private */ static function shortList( $articles, $articles_start_char ) { $r = '

' . htmlspecialchars( $articles_start_char[0] ) . "

\n"; -- 2.20.1