X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2Fregistration%2FExtensionProcessor.php;h=6182d5fdc4978a830caa2cc02e93c1826959b3fe;hb=41355718e137b2ed88160ad5ddb4db50336d54d9;hp=faaaece456d6a1a65ccc9401db6c2e504003b0ad;hpb=de0e4b557bd1dc2694ab3d809428f7f35e9685ea;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index faaaece456..6182d5fdc4 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -65,6 +65,7 @@ class ExtensionProcessor implements Processor { protected static $coreAttributes = [ 'SkinOOUIThemes', 'TrackingCategories', + 'RestRoutes', ]; /** @@ -119,6 +120,7 @@ class ExtensionProcessor implements Processor { 'ResourceFileModulePaths', 'ResourceModules', 'ResourceModuleSkinStyles', + 'OOUIThemePaths', 'QUnitTestModule', 'ExtensionMessagesFiles', 'MessagesDirs', @@ -444,7 +446,7 @@ class ExtensionProcessor implements Processor { } } - foreach ( [ 'ResourceModules', 'ResourceModuleSkinStyles' ] as $setting ) { + foreach ( [ 'ResourceModules', 'ResourceModuleSkinStyles', 'OOUIThemePaths' ] as $setting ) { if ( isset( $info[$setting] ) ) { foreach ( $info[$setting] as $name => $data ) { if ( isset( $data['localBasePath'] ) ) { @@ -458,7 +460,11 @@ class ExtensionProcessor implements Processor { if ( $defaultPaths ) { $data += $defaultPaths; } - $this->globals["wg$setting"][$name] = $data; + if ( $setting === 'OOUIThemePaths' ) { + $this->attributes[$setting][$name] = $data; + } else { + $this->globals["wg$setting"][$name] = $data; + } } } }