possible errors for requireMaxOneParameter are generated with getRequireMaxOneParameterErrorMessages,
not getRequireOnlyOneParameterErrorMessages
Change-Id: Ia3d705ddf2f2d969b3112962a13f27dc9a106037
global $wgBlockCIDRLimit;
return array_merge( parent::getPossibleErrors(),
global $wgBlockCIDRLimit;
return array_merge( parent::getPossibleErrors(),
- $this->getRequireOnlyOneParameterErrorMessages( array( 'users', 'ip' ) ),
+ $this->getRequireMaxOneParameterErrorMessages( array( 'users', 'ip' ) ),
array(
array(
'code' => 'cidrtoobroad',
array(
array(
'code' => 'cidrtoobroad',