mediawiki-extensions-Catego.../i18n/api/en.json
Ammarpad 277b547d21 ApiCategoryTree: Harden validation of JSON values in options parameter
* All option values are not expected be object themselves.
* Allow 'namespace' option to take scalar or array value.
* All other options take scalar values only.

Bug: T335145
Change-Id: I3bdb284f26d0c9ee8230f2197b168a7e83c145c3
2023-04-24 23:59:33 +01:00

14 lines
677 B
JSON

{
"@metadata": {
"authors": [
"Daniel Kinzler, brightbyte.de"
]
},
"apihelp-categorytree-description": "Internal module for the CategoryTree extension.",
"apihelp-categorytree-summary": "Internal module for the CategoryTree extension.",
"apihelp-categorytree-param-category": "Title in the category namespace, prefix will be ignored if given.",
"apihelp-categorytree-param-options": "Options for the CategoryTree constructor as a JSON object. The <var>depth</var> option defaults to <kbd>1</kbd>.",
"apierror-categorytree-invalidjson": "Options must be a valid JSON object.",
"apierror-categorytree-invalidjson-option": "Option \"$1\" contains invalid value."
}