Add $wgReauthenticateTime to extension.json
[lhc/web/wiklou.git] / includes / registration / ExtensionProcessor.php
index bf61779..07fab78 100644 (file)
@@ -45,6 +45,8 @@ class ExtensionProcessor implements Processor {
                'MediaHandlers',
                'PasswordPolicy',
                'RateLimits',
+               'RawHtmlMessages',
+               'ReauthenticateTime',
                'RecentChangesFlags',
                'RemoveCredentialsBlacklist',
                'RemoveGroups',
@@ -483,11 +485,7 @@ class ExtensionProcessor implements Processor {
         * @param string $dir
         */
        protected function extractConfig2( array $info, $dir ) {
-               if ( isset( $info['config_prefix'] ) ) {
-                       $prefix = $info['config_prefix'];
-               } else {
-                       $prefix = 'wg';
-               }
+               $prefix = $info['config_prefix'] ?? 'wg';
                if ( isset( $info['config'] ) ) {
                        foreach ( $info['config'] as $key => $data ) {
                                $value = $data['value'];