Only throw missingparam for string === '' when it is required
RELEASE-NOTES for breaking change
* (bug 24330) Add &redirect parameter to ?action=edit
* (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and blockreason if
the user is actually blocked.
-* Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
+* Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format
+* For required string parameters, if '' is provided, this is now classed as missing
=== Languages updated in 1.17 ===
case 'NULL': // nothing to do
break;
case 'string':
- if ( $value === '' ) {
+ if ( $required && $value === '' ) {
$this->dieUsageMsg( array( 'missingparam', $paramName ) );
}