Per Hashar, r77819, @private comment. Explicit public method definition
authorSam Reed <reedy@users.mediawiki.org>
Mon, 6 Dec 2010 17:07:39 +0000 (17:07 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 6 Dec 2010 17:07:39 +0000 (17:07 +0000)
includes/CategoryPage.php

index 820e433..5fcad49 100644 (file)
@@ -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 = '<h3>' . htmlspecialchars( $articles_start_char[0] ) . "</h3>\n";