Merge "SpecialTrackingCategories: Read from the extension registry"
[lhc/web/wiklou.git] / includes / registration / ExtensionProcessor.php
index 27c8148..fe86ca9 100644 (file)
@@ -22,6 +22,7 @@ class ExtensionProcessor implements Processor {
                'RemoveGroups',
                'AvailableRights',
                'ContentHandlers',
+               'ConfigRegistry',
                'RateLimits',
                'ParserTestFiles',
                'RecentChangesFlags',
@@ -127,7 +128,8 @@ class ExtensionProcessor implements Processor {
                foreach ( $info as $key => $val ) {
                        if ( in_array( $key, self::$globalSettings ) ) {
                                $this->storeToArray( "wg$key", $val, $this->globals );
-                       } elseif ( !in_array( $key, $this->processed ) ) {
+                       // Ignore anything that starts with a @
+                       } elseif ( $key[0] !== '@' && !in_array( $key, $this->processed ) ) {
                                $this->storeToArray( $key, $val, $this->attributes );
                        }
                }