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

--- Comment #5 from [email protected] 2011-03-25 18:03:46 UTC ---
In my opinion is

'foo' => null

a shorthand for

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

and

'foo' => ''

is a shorthand for:

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

because now is there no different between null and ''.

But when you say, that is defined that way, that is ok.

Thank you.

-- 
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