registration: Allow to require environment abilities
[lhc/web/wiklou.git] / docs / extension.schema.v1.json
index fcc41af..36e2fe2 100644 (file)
                                                "php": {
                                                        "type": "string",
                                                        "description": "Version constraint string against PHP."
+                                               },
+                                               "ability-shell": {
+                                                       "type": "boolean",
+                                                       "default": false,
+                                                       "description": "Whether this extension requires shell access."
                                                }
                                        },
                                        "patternProperties": {
                                                                "noflip": {
                                                                        "type": "boolean",
                                                                        "description": "Whether to skip CSSJanus LTR-to-RTL flipping for this module. Recommended for styles imported from libraries that already properly handle their RTL styles. Default is false, meaning CSSJanus will be applied on RTL-mode output."
+                                                               },
+                                                               "packageFiles": {
+                                                                       "type": ["object", "array"],
+                                                                       "description": "Package files that can be require()d"
                                                                }
                                                        }
                                                },
                                                        "properties": {
                                                                "class": {
                                                                        "type": "string",
-                                                                       "pattern": "^((?!ResourceLoader(File|Image)Module).)*$"
+                                                                       "pattern": "^(?!ResourceLoader(File|Image|Wiki)Module).*$"
                                                                }
                                                        },
                                                        "required": ["class"]