Extract type from PARAM_DFLT if PARAM_TYPE is not set
The declaration
'unwatch' => array( ApiBase::PARAM_DFLT => false, ApiBase::PARAM_DEPRECATED => true, ),
gives in action=paraminfo no type= and a wrong default.
<param name="unwatch" description="Remove the page from your watchlist" deprecated="" default="" />
But the default of false indicate a boolean.
The attachment change this to:
<param name="unwatch" description="Remove the page from your watchlist" deprecated="" default="false" type="bool" />
Thanks.
Version: unspecified
Severity: enhancement
Attached: