mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-11 16:49:30 +00:00
8fa1401235
Also make a minor change to the default config options. Change-Id: Icf295c50b6f834ec004c73213935679e409b65c5
69 lines
2.1 KiB
JSON
69 lines
2.1 KiB
JSON
{
|
|
"name": "LoginNotify",
|
|
"version": "0.1",
|
|
"author": [
|
|
"Brian Wolff"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:LoginNotify",
|
|
"descriptionmsg": "loginnotify-desc",
|
|
"license-name": "MIT",
|
|
"type": "other",
|
|
"DefaultUserOptions": {
|
|
"echo-subscriptions-web-login-fail": true,
|
|
"echo-subscriptions-email-login-fail": false,
|
|
"echo-subscriptions-web-login-success": false,
|
|
"echo-subscriptions-email-login-success": false
|
|
},
|
|
"MessagesDirs": {
|
|
"LoginNotify": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"LoginNotify": "LoginNotify_body.php",
|
|
"LoginNotifyHooks": "LoginNotify.hooks.php",
|
|
"LoginNotifyPresentationModel": "LoginNotifyPresentationModel.php",
|
|
"LoginNotifyFormatter": "LoginNotifyFormatter.php"
|
|
},
|
|
"Hooks": {
|
|
"BeforeCreateEchoEvent": [
|
|
"LoginNotifyHooks::onBeforeCreateEchoEvent"
|
|
],
|
|
"LoginAuthenticateAudit": [
|
|
"LoginNotifyHooks::onLoginAuthenticateAudit"
|
|
],
|
|
"AddNewAccount": [
|
|
"LoginNotifyHooks::onAddNewAccount"
|
|
],
|
|
"UserLoadOptions": [
|
|
"LoginNotifyHooks::onUserLoadOptions"
|
|
],
|
|
"UserSaveOptions": [
|
|
"LoginNotifyHooks::onUserSaveOptions"
|
|
],
|
|
"UnitTestsList": [
|
|
"LoginNotifyHooks::onUnitTestList"
|
|
]
|
|
},
|
|
"config": {
|
|
"LoginNotifyAttemptsKnownIP": 10,
|
|
"LoginNotifyExpiryKnownIP": 604800,
|
|
"LoginNotifyAttemptsNewIP": 3,
|
|
"LoginNotifyExpiryNewIP": 1209600,
|
|
"LoginNotifyCheckKnownIPs": true,
|
|
"LoginNotifyEnableOnSuccess": true,
|
|
"@doc": "Enable notification for users with certain rights. To disable set to false",
|
|
"LoginNotifyEnableForPriv": [ "editinterface", "userrights" ],
|
|
"@doc": "Override this to use a different secret than $wgSecretKey",
|
|
"LoginNotifySecretKey": null,
|
|
"@doc": "Expiry in seconds. Default is 180 days",
|
|
"LoginNotifyCookieExpire": 15552000,
|
|
"@doc": "Override to allow sharing login cookies between sites on different subdomains",
|
|
"LoginNotifyCookieDomain": null,
|
|
"LoginNotifyMaxCookieRecords": 6,
|
|
"@doc": "Set to false to disable caching IPs in memcache. Set to 0 to cache forever. Default 60 days.",
|
|
"LoginNotifyCacheLoginIPExpiry": 5184000
|
|
},
|
|
"manifest_version": 1
|
|
}
|