Index: trunk/extensions/Validator/includes/Validator.php |
— | — | @@ -226,7 +226,9 @@ |
227 | 227 | // Loop over the remaining raw parameters. |
228 | 228 | // These are unrecognized parameters, as they where not used by any parameter definition. |
229 | 229 | foreach ( $this->rawParameters as $paramName => $paramValue ) { |
230 | | - // TODO: error: unknown param |
| 230 | + $this->registerNewError( |
| 231 | + wfMsgExt( 'validator_error_unknown_argument', 'parsemag', $paramName ) |
| 232 | + ); |
231 | 233 | } |
232 | 234 | } |
233 | 235 | |