From 0625f4e161304dcc85c5310f3ba708d2e0511c28 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 22 Jun 2016 23:59:31 +0200 Subject: [PATCH] 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 --- docs/extension.schema.json | 4 ---- includes/registration/ExtensionProcessor.php | 1 - 2 files changed, 5 deletions(-) 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', -- 2.20.1