From 3cb1d23890478370aaa25416cdf80220f1a17ff8 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 22 Jul 2010 21:55:40 +0000 Subject: [PATCH] Remove various unused parameters Only comment them out in ApiFormatYaml_spyc.php --- includes/api/ApiFormatYaml_spyc.php | 2 ++ includes/api/ApiQuery.php | 2 +- includes/api/ApiQueryBacklinks.php | 2 +- includes/api/ApiQueryUserContributions.php | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiFormatYaml_spyc.php b/includes/api/ApiFormatYaml_spyc.php index d2bc79fed8..093ae3eb95 100644 --- a/includes/api/ApiFormatYaml_spyc.php +++ b/includes/api/ApiFormatYaml_spyc.php @@ -91,12 +91,14 @@ class Spyc { /**** Private Properties ****/ + /** private $_haveRefs; private $_allNodes; private $_lastIndent; private $_lastNode; private $_inBlock; private $_isInline; + **/ private $_dumpIndent; private $_dumpWordWrap; diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 18c09549db..063b478f99 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -43,7 +43,7 @@ class ApiQuery extends ApiBase { private $mPropModuleNames, $mListModuleNames, $mMetaModuleNames; private $mPageSet; - private $params, $redirect; + private $params; private $mQueryPropModules = array( 'info' => 'ApiQueryInfo', diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index 9c32d5cb42..92b1a638b5 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -38,7 +38,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { */ class ApiQueryBacklinks extends ApiQueryGeneratorBase { - private $params, $rootTitle, $contRedirs, $contLevel, $contTitle, $contID, $redirID, $redirect; + private $params, $rootTitle, $contID, $redirID, $redirect; private $bl_ns, $bl_from, $bl_table, $bl_code, $bl_title, $bl_sort, $bl_fields, $hasNS; private $pageMap, $resultArr; diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index 42ac26e896..85c1d770bd 100644 --- a/includes/api/ApiQueryUserContributions.php +++ b/includes/api/ApiQueryUserContributions.php @@ -39,7 +39,7 @@ class ApiQueryContributions extends ApiQueryBase { parent::__construct( $query, $moduleName, 'uc' ); } - private $params, $username; + private $params; private $fld_ids = false, $fld_title = false, $fld_timestamp = false, $fld_comment = false, $fld_parsedcomment = false, $fld_flags = false, $fld_patrolled = false, $fld_tags = false; -- 2.20.1