jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/344661 )
Change subject: Complete documentation of config variables
......................................................................
Complete documentation of config variables
Bug: T160094
Change-Id: Icf312685419fb314943ef7b978caf6707724e838
---
M README.md
M extension.json
2 files changed, 14 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Kaldari: Looks good to me, approved
diff --git a/README.md b/README.md
index 3abbf09..c7576a6 100644
--- a/README.md
+++ b/README.md
@@ -7,11 +7,17 @@
* Navigate to Special:Version on your wiki to verify that the extension is
successfully installed.
#### Configuration parameters
+ "@doc": "The number of failed login attempts to permit from a known IP
before a notification is triggered.",
"LoginNotifyAttemptsKnownIP": 10
+ "@doc": "The time-to-live of the count of failed login attempts from a
known IP (from the time of the first failed attempt).",
"LoginNotifyExpiryKnownIP": 604800,
+ "@doc": "The number of failed login attempts to permit from a new IP
before a notification is triggered.",
"LoginNotifyAttemptsNewIP": 3,
+ "@doc": "The time-to-live of the count of failed login attempts from a
new IP (from the time of the first failed attempt).",
"LoginNotifyExpiryNewIP": 1209600,
+ "@doc": "Whether to trigger a notification after failed logins from
known IPs.",
"LoginNotifyCheckKnownIPs": true,
+ "@doc": "Whether to trigger a notification after successful logins from
unknown IPs.",
"LoginNotifyEnableOnSuccess": true,
"@doc": "Enable notification for users with certain rights. To disable
set to false",
"LoginNotifyEnableForPriv": [ "editinterface", "userrights" ],
@@ -21,6 +27,7 @@
"LoginNotifyCookieExpire": 15552000,
"@doc": "Override to allow sharing login cookies between sites on
different subdomains",
"LoginNotifyCookieDomain": null,
+ "@doc": "Maximum number of users (records) to track as having
successfully logged in on a particular device.",
"LoginNotifyMaxCookieRecords": 6,
"@doc": "Set to false to disable caching IPs in memcache. Set to 0 to
cache forever. Default 60 days.",
"LoginNotifyCacheLoginIPExpiry": 5184000
diff --git a/extension.json b/extension.json
index 7824e89..fb3933e 100644
--- a/extension.json
+++ b/extension.json
@@ -53,11 +53,17 @@
]
},
"config": {
+ "@docLoginNotifyAttemptsKnownIP": "The number of failed login
attempts to permit from a known IP before a notification is triggered.",
"LoginNotifyAttemptsKnownIP": 10,
+ "@docLoginNotifyExpiryKnownIP": "The time-to-live of the count
of failed login attempts from a known IP (from the time of the first failed
attempt).",
"LoginNotifyExpiryKnownIP": 604800,
+ "@docLoginNotifyAttemptsNewIP": "The number of failed login
attempts to permit from a new IP before a notification is triggered.",
"LoginNotifyAttemptsNewIP": 3,
+ "@docLoginNotifyExpiryNewIP": "The time-to-live of the count of
failed login attempts from a new IP (from the time of the first failed
attempt).",
"LoginNotifyExpiryNewIP": 1209600,
+ "@docLoginNotifyCheckKnownIPs": "Whether to trigger a
notification after failed logins from known IPs.",
"LoginNotifyCheckKnownIPs": true,
+ "@docLoginNotifyEnableOnSuccess": "Whether to trigger a
notification after successful logins from unknown IPs.",
"LoginNotifyEnableOnSuccess": true,
"@docLoginNotifyEnableForPriv": "Enable notification for users
with certain rights. To disable set to false",
"LoginNotifyEnableForPriv": [ "editinterface", "userrights" ],
@@ -67,6 +73,7 @@
"LoginNotifyCookieExpire": 15552000,
"@docLoginNotifyCookieDomain": "Override to allow sharing login
cookies between sites on different subdomains",
"LoginNotifyCookieDomain": null,
+ "@docLoginNotifyMaxCookieRecords": "Maximum number of users
(records) to track as having successfully logged in on a particular device.",
"LoginNotifyMaxCookieRecords": 6,
"@docLoginNotifyCacheLoginIPExpiry": "Set to false to disable
caching IPs in memcache. Set to 0 to cache forever. Default 60 days.",
"LoginNotifyCacheLoginIPExpiry": 5184000
--
To view, visit https://gerrit.wikimedia.org/r/344661
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icf312685419fb314943ef7b978caf6707724e838
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/LoginNotify
Gerrit-Branch: master
Gerrit-Owner: MusikAnimal <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits