jenkins-bot has submitted this change and it was merged. Change subject: Remove ApiMain::getModules() and ApiQuery::getModules() ......................................................................
Remove ApiMain::getModules() and ApiQuery::getModules() No usages anymore in any code hosted on wikimedia git. Change-Id: I16d1afad211f00b9138219bcf62e5903513169be --- M RELEASE-NOTES-1.27 M includes/api/ApiMain.php M includes/api/ApiQuery.php 3 files changed, 2 insertions(+), 20 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index c98db50..91f2d72 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -144,6 +144,8 @@ ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24). * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24). * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25). +* ApiQuery::getModules() was removed (deprecated since 1.21). +* ApiMain::getModules() was removed (deprecated since 1.21). === Languages updated in 1.27 === diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 89ff19a..ef9f901 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -1789,15 +1789,6 @@ } /** - * Get the array mapping module names to class names - * @deprecated since 1.21, Use getModuleManager()'s methods instead. - * @return array - */ - function getModules() { - return $this->getModuleManager()->getNamesWithClasses( 'action' ); - } - - /** * Returns the list of supported formats in form ( 'format' => 'ClassName' ) * * @since 1.18 diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 902bca7..d12a68f 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -185,17 +185,6 @@ } /** - * Get the array mapping module names to class names - * @deprecated since 1.21, use getModuleManager()'s methods instead - * @return array Array(modulename => classname) - */ - public function getModules() { - wfDeprecated( __METHOD__, '1.21' ); - - return $this->getModuleManager()->getNamesWithClasses(); - } - - /** * Get the generators array mapping module names to class names * @deprecated since 1.21, list of generators is maintained by ApiPageSet * @return array Array(modulename => classname) -- To view, visit https://gerrit.wikimedia.org/r/262014 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I16d1afad211f00b9138219bcf62e5903513169be Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits