Legoktm has submitted this change and it was merged.

Change subject: Set visibility on some stuff
......................................................................


Set visibility on some stuff

Change-Id: I708cb635022471ba057f0b5f735c397152fa37fb
---
M HelpPages.body.php
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Legoktm: Verified; Looks good to me, approved



diff --git a/HelpPages.body.php b/HelpPages.body.php
index 6c41876..7dbb006 100644
--- a/HelpPages.body.php
+++ b/HelpPages.body.php
@@ -9,7 +9,7 @@
         * @param $params array
         * @return array
         */
-       public static function makeAPIRequest( $params ) {
+       protected static function makeAPIRequest( $params ) {
                $params['format'] = 'json';
                $url = wfAppendQuery( self::$apiurl, $params );
                $req = MWHttpRequest::factory( $url );
@@ -22,10 +22,10 @@
        /**
         * Get the cache key for a certain title
         *
-        * @param Title|string $title
+        * @param string $title
         * @return string
         */
-       public static function getCacheKey( $title ) {
+       protected static function getCacheKey( $title ) {
                global $wgLanguageCode;
                return wfMemcKey( 'helppages', $wgLanguageCode, md5( $title ), 
'v2' );
        }
@@ -43,7 +43,7 @@
         * @param $title string
         * @return array
         */
-       public static function parseWikiText( $title ) {
+       protected static function parseWikiText( $title ) {
                $params = array(
                        'action' => 'parse',
                        'page' => $title

-- 
To view, visit https://gerrit.wikimedia.org/r/103646
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I708cb635022471ba057f0b5f735c397152fa37fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/HelpPages
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to