Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/103646
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/HelpPages
refs/changes/46/103646/1
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: newchange
Gerrit-Change-Id: I708cb635022471ba057f0b5f735c397152fa37fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/HelpPages
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits