From: Kunal Mehta Date: Wed, 4 Mar 2015 20:34:35 +0000 (-0800) Subject: Add "ValidSkinNames" to extension.schema.json and ExtensionProcessor X-Git-Tag: 1.31.0-rc.0~12182 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=ade66c04e9b304129f18ee33496fdf00869f4597;p=lhc%2Fweb%2Fwiklou.git Add "ValidSkinNames" to extension.schema.json and ExtensionProcessor skin.json goes through the same exact code as extension.json does, and needs to be able to add skins. Change-Id: Idd0acaf6735b4c308d3ab584c49da4e97448347f --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index e7b32de0a1..dd35d0541c 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -611,6 +611,9 @@ "APIListModules": { "type": "object" }, + "ValidSkinNames": { + "type": "object" + }, "callback": { "type": [ "array", diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index a2dcd59da1..f85b8781f7 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -44,6 +44,7 @@ class ExtensionProcessor implements Processor { 'APIMetaModules', 'APIPropModules', 'APIListModules', + 'ValidSkinNames', ); /**