- if ( $count > ApiBase::LIMIT_SML1 ) {
- $extra[] = $context->msg( 'api-help-param-multi-max' )
- ->numParams( ApiBase::LIMIT_SML1, ApiBase::LIMIT_SML2 )
- ->parse();
+ if ( $count > $lowcount ) {
+ if ( $lowcount === $highcount ) {
+ $msg = $context->msg( 'api-help-param-multi-max-simple' )
+ ->numParams( $lowcount );
+ } else {
+ $msg = $context->msg( 'api-help-param-multi-max' )
+ ->numParams( $lowcount, $highcount );
+ }
+ $extra[] = $msg->parse();