From 265cb893cbadc1f8a1e6fa82dc00229737ac0314 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Thu, 15 Nov 2018 15:39:58 -0800 Subject: [PATCH] Add $wgReauthenticateTime to extension.json Change-Id: I9722c065d522e18b6bf488c721f48ee7b7b9e494 --- docs/extension.schema.v1.json | 8 ++++++++ docs/extension.schema.v2.json | 8 ++++++++ includes/registration/ExtensionProcessor.php | 1 + 3 files changed, 17 insertions(+) diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index f6f3b2188f..7e4203587d 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -693,6 +693,14 @@ "type": "string" } }, + "ReauthenticateTime": { + "type": "object", + "patternProperties": { + ".*": { + "type": "integer" + } + } + }, "callback": { "type": [ "array", diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index 8ade991d4d..c5c3b5d6bb 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -715,6 +715,14 @@ "type": "string" } }, + "ReauthenticateTime": { + "type": "object", + "patternProperties": { + ".*": { + "type": "integer" + } + } + }, "callback": { "type": [ "array", diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index e43b3b88fa..07fab78f96 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -46,6 +46,7 @@ class ExtensionProcessor implements Processor { 'PasswordPolicy', 'RateLimits', 'RawHtmlMessages', + 'ReauthenticateTime', 'RecentChangesFlags', 'RemoveCredentialsBlacklist', 'RemoveGroups', -- 2.20.1