Merge "resourceloader: CSSMin::getLocalFileReferences now strips anchors"
[lhc/web/wiklou.git] / docs / extension.schema.v2.json
index 75a4f2c..c9d33e1 100644 (file)
                                                                        "description": "Group with which this module should be loaded"
                                                                },
                                                                "deprecated": {
-                                                                       "type": ["object", "boolean"],
-                                                                       "description": "Whether the module is deprecated and usage is discouraged. Either a boolean or an object with key message can be used to customise deprecation message."
+                                                                       "type": ["object", "string", "boolean"],
+                                                                       "description": "Whether the module is deprecated and usage is discouraged. Either a boolean, or a string or an object with key message can be used to customise deprecation message."
                                                                },
                                                                "position": {
                                                                        "type": "string",
                                                                "class": {
                                                                        "enum": ["ResourceLoaderImageModule"]
                                                                },
+                                                               "defaultColor": {
+                                                                       "type": "string"
+                                                               },
                                                                "data": {
                                                                        "type": "string"
                                                                },
                                                                "selectorWithVariant": {
                                                                        "type": "string"
                                                                },
+                                                               "useDataURI": {
+                                                                       "type": "boolean"
+                                                               },
                                                                "variants": {
                                                                        "type": "object"
                                                                },
                        "type": "object",
                        "description": "SpecialPages implemented in this extension (mapping of page name to class name)"
                },
+               "AutoloadNamespaces": {
+                       "type": "object",
+                       "description": "Mapping of PSR-4 compliant namespace to directory for autoloading",
+                       "patternProperties": {
+                               "^[A-Za-z0-9\\\\]+\\\\$": {
+                                       "type": "string"
+                               }
+                       },
+                       "additionalProperties": false
+               },
                "AutoloadClasses": {
                        "type": "object"
                },
                },
                "SkinOOUIThemes": {
                        "type": "object",
-                       "description": "Map of skin names to OOjs UI themes to use. Same format as ResourceLoaderOOUIModule::$builtinSkinThemeMap."
+                       "description": "Map of skin names to OOUI themes to use. Same format as ResourceLoaderOOUIModule::$builtinSkinThemeMap."
                },
                "PasswordPolicy": {
                        "type": "object",