https://bugzilla.wikimedia.org/show_bug.cgi?id=28224
--- Comment #7 from Roan Kattouw roan.katt...@gmail.com 2011-03-27 13:19:12
UTC ---
(In reply to comment #5)
In my opinion is
'foo' = null
a shorthand for
'foo' = array(
ApiBase::PARAM_TYPE = 'string',
ApiBase::PARAM_DFLT = null
https://bugzilla.wikimedia.org/show_bug.cgi?id=28224
--- Comment #6 from duplicate...@googlemail.com 2011-03-25 18:44:37 UTC ---
but action=help show a empty default, and ignore a default of null
reason - Reason for (un)protecting (optional)
Default:
reason
https://bugzilla.wikimedia.org/show_bug.cgi?id=28224
Reedy s...@reedyboy.net changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.wikimedia.org/show_bug.cgi?id=28224
--- Comment #2 from duplicate...@googlemail.com 2011-03-24 20:02:36 UTC ---
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'
https://bugzilla.wikimedia.org/show_bug.cgi?id=28224
--- Comment #3 from Reedy s...@reedyboy.net 2011-03-24 21:06:30 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
https://bugzilla.wikimedia.org/show_bug.cgi?id=28224
Roan Kattouw roan.katt...@gmail.com changed:
What|Removed |Added
CC|