registration: Remove broken ResourceLoaderLESSImportPaths support
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 22 Jun 2016 21:59:31 +0000 (23:59 +0200)
committerKunal Mehta <legoktm@member.fsf.org>
Sat, 2 Jul 2016 21:38:05 +0000 (14:38 -0700)
It never worked to begin with since it did not prefix paths, and the
documentation for it says it should not be used by extensions, so
let's stop pretending it works.

Bug: T108271
Change-Id: I665d4439d14406038f2ac767ee5ec6eb5b67fca6

docs/extension.schema.json
includes/registration/ExtensionProcessor.php

index c5dc105..93ee316 100644 (file)
                        "type": "object",
                        "description": "ResourceLoader LESS variables"
                },
-               "ResourceLoaderLESSImportPaths": {
-                       "type": "object",
-                       "description": "ResourceLoader import paths"
-               },
                "ConfigRegistry": {
                        "type": "object",
                        "description": "Registry of factory functions to create Config objects"
index 2205f95..62f9f9e 100644 (file)
@@ -10,7 +10,6 @@ class ExtensionProcessor implements Processor {
        protected static $globalSettings = [
                'ResourceLoaderSources',
                'ResourceLoaderLESSVars',
-               'ResourceLoaderLESSImportPaths',
                'DefaultUserOptions',
                'HiddenPrefs',
                'GroupPermissions',