Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/275765

Change subject: Remove deprecated ApiQuoery::getModuleType()
......................................................................

Remove deprecated ApiQuoery::getModuleType()

No more uses found in core or Gerrit extensions.

Change-Id: I1d46adc9ecad598c7d7726a2243bba4f7a04531a
---
M RELEASE-NOTES-1.27
M includes/api/ApiQuery.php
2 files changed, 1 insertion(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/65/275765/1

diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27
index 437f8e6..6f7dbc6 100644
--- a/RELEASE-NOTES-1.27
+++ b/RELEASE-NOTES-1.27
@@ -218,6 +218,7 @@
 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
 * ApiQuery::getModules() was removed (deprecated since 1.21).
+* ApiQuery::getModuleType() was removed (deprecated since 1.21).
 * ApiMain::getModules() was removed (deprecated since 1.21).
 * ApiBase::getVersion() was removed (deprecated since 1.21).
 
diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php
index 58b670a..c0cd21d 100644
--- a/includes/api/ApiQuery.php
+++ b/includes/api/ApiQuery.php
@@ -203,16 +203,6 @@
        }
 
        /**
-        * Get whether the specified module is a prop, list or a meta query 
module
-        * @deprecated since 1.21, use getModuleManager()->getModuleGroup()
-        * @param string $moduleName Name of the module to find type for
-        * @return string|null
-        */
-       function getModuleType( $moduleName ) {
-               return $this->getModuleManager()->getModuleGroup( $moduleName );
-       }
-
-       /**
         * @return ApiFormatRaw|null
         */
        public function getCustomPrinter() {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d46adc9ecad598c7d7726a2243bba4f7a04531a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@kitano.nl>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to