From: Kunal Mehta Date: Wed, 22 Jun 2016 21:59:31 +0000 (+0200) Subject: registration: Remove broken ResourceLoaderLESSImportPaths support X-Git-Tag: 1.31.0-rc.0~6377^2~1 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=0625f4e161304dcc85c5310f3ba708d2e0511c28;p=lhc%2Fweb%2Fwiklou.git registration: Remove broken ResourceLoaderLESSImportPaths support 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 --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index c5dc10569b..93ee316487 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -542,10 +542,6 @@ "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" diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 2205f9538f..62f9f9ed44 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -10,7 +10,6 @@ class ExtensionProcessor implements Processor { protected static $globalSettings = [ 'ResourceLoaderSources', 'ResourceLoaderLESSVars', - 'ResourceLoaderLESSImportPaths', 'DefaultUserOptions', 'HiddenPrefs', 'GroupPermissions',