From: Gergő Tisza Date: Thu, 15 Nov 2018 23:39:58 +0000 (-0800) Subject: Add $wgReauthenticateTime to extension.json X-Git-Tag: 1.34.0-rc.0~3372^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=265cb893cbadc1f8a1e6fa82dc00229737ac0314;p=lhc%2Fweb%2Fwiklou.git Add $wgReauthenticateTime to extension.json Change-Id: I9722c065d522e18b6bf488c721f48ee7b7b9e494 --- 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',