In rMWc2b15259081b: API: Use ParamValidator library as part of numerous tasks, various ApiBase::PARAM_ constants were deprecated in favour of ParamValidator replacements.
They're still used in many places, and originally, due to how the @deprecated tag was added, most IDE's only ApiBase::PARAM_DFLT would probably be flagged as actually being deprecated, the rest not so much.
/** * @name Old constants for ::getAllowedParams() arrays * @deprecated since 1.35, use the equivalent ParamValidator or TypeDef constants instead. * @{ */ public const PARAM_DFLT = ParamValidator::PARAM_DEFAULT; public const PARAM_ISMULTI = ParamValidator::PARAM_ISMULTI; public const PARAM_TYPE = ParamValidator::PARAM_TYPE; public const PARAM_MAX = IntegerDef::PARAM_MAX; public const PARAM_MAX2 = IntegerDef::PARAM_MAX2; public const PARAM_MIN = IntegerDef::PARAM_MIN; public const PARAM_ALLOW_DUPLICATES = ParamValidator::PARAM_ALLOW_DUPLICATES; public const PARAM_DEPRECATED = ParamValidator::PARAM_DEPRECATED; public const PARAM_REQUIRED = ParamValidator::PARAM_REQUIRED; public const PARAM_SUBMODULE_MAP = SubmoduleDef::PARAM_SUBMODULE_MAP; public const PARAM_SUBMODULE_PARAM_PREFIX = SubmoduleDef::PARAM_SUBMODULE_PARAM_PREFIX; public const PARAM_ALL = ParamValidator::PARAM_ALL; public const PARAM_EXTRA_NAMESPACES = NamespaceDef::PARAM_EXTRA_NAMESPACES; public const PARAM_SENSITIVE = ParamValidator::PARAM_SENSITIVE; public const PARAM_DEPRECATED_VALUES = EnumDef::PARAM_DEPRECATED_VALUES; public const PARAM_ISMULTI_LIMIT1 = ParamValidator::PARAM_ISMULTI_LIMIT1; public const PARAM_ISMULTI_LIMIT2 = ParamValidator::PARAM_ISMULTI_LIMIT2; public const PARAM_MAX_BYTES = StringDef::PARAM_MAX_BYTES; public const PARAM_MAX_CHARS = StringDef::PARAM_MAX_CHARS; /** @} */
/** * @name Old constants for ::getAllowedParams() arrays * @{ */ /** * @deprecated since 1.35, use ParamValidator::PARAM_DEFAULT instead */ public const PARAM_DFLT = ParamValidator::PARAM_DEFAULT; /** * @deprecated since 1.35, use ParamValidator::PARAM_ISMULTI instead */ public const PARAM_ISMULTI = ParamValidator::PARAM_ISMULTI; /** * @deprecated since 1.35, use ParamValidator::PARAM_TYPE instead */ public const PARAM_TYPE = ParamValidator::PARAM_TYPE; /** * @deprecated since 1.35, use IntegerDef::PARAM_MAX instead */ public const PARAM_MAX = IntegerDef::PARAM_MAX; /** * @deprecated since 1.35, use IntegerDef::PARAM_MAX2 instead */ public const PARAM_MAX2 = IntegerDef::PARAM_MAX2; /** * @deprecated since 1.35, use IntegerDef::PARAM_MIN instead */ public const PARAM_MIN = IntegerDef::PARAM_MIN; /** * @deprecated since 1.35, use ParamValidator::PARAM_ALLOW_DUPLICATES instead */ public const PARAM_ALLOW_DUPLICATES = ParamValidator::PARAM_ALLOW_DUPLICATES; /** * @deprecated since 1.35, use ParamValidator::PARAM_DEPRECATED instead */ public const PARAM_DEPRECATED = ParamValidator::PARAM_DEPRECATED; /** * @deprecated since 1.35, use ParamValidator::PARAM_REQUIRED instead */ public const PARAM_REQUIRED = ParamValidator::PARAM_REQUIRED; /** * @deprecated since 1.35, use SubmoduleDef::PARAM_SUBMODULE_MAP instead */ public const PARAM_SUBMODULE_MAP = SubmoduleDef::PARAM_SUBMODULE_MAP; /** * @deprecated since 1.35, use SubmoduleDef::PARAM_SUBMODULE_PARAM_PREFIX instead */ public const PARAM_SUBMODULE_PARAM_PREFIX = SubmoduleDef::PARAM_SUBMODULE_PARAM_PREFIX; /** * @deprecated since 1.35, use ParamValidator::PARAM_ALL instead */ public const PARAM_ALL = ParamValidator::PARAM_ALL; /** * @deprecated since 1.35, use NamespaceDef::PARAM_EXTRA_NAMESPACES instead */ public const PARAM_EXTRA_NAMESPACES = NamespaceDef::PARAM_EXTRA_NAMESPACES; /** * @deprecated since 1.35, use ParamValidator::PARAM_SENSITIVE instead */ public const PARAM_SENSITIVE = ParamValidator::PARAM_SENSITIVE; /** * @deprecated since 1.35, use EnumDef::PARAM_DEPRECATED_VALUES instead */ public const PARAM_DEPRECATED_VALUES = EnumDef::PARAM_DEPRECATED_VALUES; /** * @deprecated since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT1 instead */ public const PARAM_ISMULTI_LIMIT1 = ParamValidator::PARAM_ISMULTI_LIMIT1; /** * @deprecated since 1.35, use ParamValidator::PARAM_ISMULTI_LIMIT2 instead */ public const PARAM_ISMULTI_LIMIT2 = ParamValidator::PARAM_ISMULTI_LIMIT2; /** * @deprecated since 1.35, use StringDef::PARAM_MAX_BYTES instead */ public const PARAM_MAX_BYTES = StringDef::PARAM_MAX_BYTES; /** * @deprecated since 1.35, use StringDef::PARAM_MAX_CHARS instead */ public const PARAM_MAX_CHARS = StringDef::PARAM_MAX_CHARS; /** @} */