jenkins-bot has submitted this change and it was merged. Change subject: Fix typo in error message ......................................................................
Fix typo in error message The prefix for group parameter was wrong, and that was confusing. Change-Id: I5304fa634d6a3ad6c097ecbdebc8f6faa28f5515 --- M api/ApiQueryMessageGroupStats.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: KartikMistry: Looks good to me, approved jenkins-bot: Verified diff --git a/api/ApiQueryMessageGroupStats.php b/api/ApiQueryMessageGroupStats.php index 94d683b..0b383e1 100644 --- a/api/ApiQueryMessageGroupStats.php +++ b/api/ApiQueryMessageGroupStats.php @@ -23,7 +23,7 @@ $params = $this->extractRequestParams(); $group = MessageGroups::getGroup( $params['group'] ); if ( !$group ) { - $this->dieUsageMsg( array( 'missingparam', 'mcgroup' ) ); + $this->dieUsageMsg( array( 'missingparam', 'mgsgroup' ) ); } elseif ( MessageGroups::isDynamic( $group ) ) { $this->dieUsage( 'Dynamic message groups are not supported here', 'invalidparam' ); } -- To view, visit https://gerrit.wikimedia.org/r/310247 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5304fa634d6a3ad6c097ecbdebc8f6faa28f5515 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: KartikMistry <kartik.mis...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits