Steps to reproduce:
- Go to https://meta.wikimedia.org/w/api.php?action=query&meta=messagegroupstats&mgsgroup=page-Example (this is the example api query given at https://meta.wikimedia.org/w/api.php?action=help&modules=query%2Bmessagegroupstats)
Actual result:
{ "error": { "code": "nomgsgroup", "info": "The \"mgsgroup\" parameter must be set.", "*": "See https://meta.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes." }, "servedby": "mw1231" }
Expected result
- The mgsgroup parameter passed in the query is understood
I'll note that the source specifies that apierror-missingparam is thrown when MessageGroups::getGroup( $params['group'] ) evaluates to false - maybe a different error should be returned