https://bugzilla.wikimedia.org/show_bug.cgi?id=28224

Roan Kattouw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Roan Kattouw <[email protected]> 2011-03-24 22:57:51 
UTC ---
(In reply to comment #2)
> But null is not an empty string. When the default is nothing, than
> action=paraminfo should say that as it does for the long form with
> ApiBase::PARAM_TYPE => 'string'
> 
> action=protect and action=edit use 'reason' => '', that is useless than.

'foo' => null

is a shorthand for:

'foo' => array( ApiBase::PARAM_TYPE => 'string', ApiBase::PARAM_DFLT => '' )

So the output is perfectly correct

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to