Index: trunk/extensions/Validator/includes/Validator.php |
— | — | @@ -224,12 +224,14 @@ |
225 | 225 | public function validateParameters() { |
226 | 226 | $this->doParamProcessing(); |
227 | 227 | |
228 | | - // Loop over the remaining raw parameters. |
229 | | - // These are unrecognized parameters, as they where not used by any parameter definition. |
230 | | - foreach ( $this->rawParameters as $paramName => $paramValue ) { |
231 | | - $this->registerNewError( |
232 | | - wfMsgExt( 'validator_error_unknown_argument', 'parsemag', $paramName ) |
233 | | - ); |
| 228 | + if ( !$this->hasfatalError() ) { |
| 229 | + // Loop over the remaining raw parameters. |
| 230 | + // These are unrecognized parameters, as they where not used by any parameter definition. |
| 231 | + foreach ( $this->rawParameters as $paramName => $paramValue ) { |
| 232 | + $this->registerNewError( |
| 233 | + wfMsgExt( 'validator_error_unknown_argument', 'parsemag', $paramName ) |
| 234 | + ); |
| 235 | + } |
234 | 236 | } |
235 | 237 | } |
236 | 238 | |