r74061 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74060‎ | r74061 | r74062 >
Date:09:23, 1 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r74060
Modified paths:
  • /trunk/extensions/Validator/includes/Validator.php (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74060Changes for 0.4 - work on error handlingjeroendedauw09:14, 1 October 2010

Status & tagging log