mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-24 15:04:10 +00:00
Remove dead code and messages
Change-Id: Ifbbf6844648940357df41d6998453edfe113c9a8
This commit is contained in:
parent
53ab022c5f
commit
12cee85fd8
|
@ -11,7 +11,6 @@
|
|||
"echo-pref-tooltip-login-fail": "Notify me when there have been multiple failed attempts to log in to my account.",
|
||||
"echo-category-title-login-success": "Login from new computer",
|
||||
"echo-pref-tooltip-login-success": "Notify me whenever somebody logs into my account from a computer I have not used before.",
|
||||
"loginnotify-login-fail": "There have been several failed attempts to log in to your account",
|
||||
"loginnotify-primary-link": "Help",
|
||||
"notification-loginnotify-login-fail-email-subject": "{{PLURAL:$2|Failed attempt|Multiple failed attempts}} to log in to {{SITENAME}} as $1",
|
||||
"notification-loginnotify-login-success-email-subject": "Login to {{SITENAME}} as $1 from a computer you have not recently used",
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"echo-pref-tooltip-login-fail": "Help tooltip for {{msg-mw|echo-category-title-login-fail}}",
|
||||
"echo-category-title-login-success": "Label for 2 checkboxes in the Notifications section of [[Special:Preferences]]. The checkbox controls if the user receives notification on someone logging in to this account from a computer that has not previously been used to log in by this user.",
|
||||
"echo-pref-tooltip-login-success": "Help tooltip for {{msg-mw|echo-category-title-login-success}}",
|
||||
"loginnotify-login-fail": "FIXME I have no idea where this message is used.\n{{notranslate}}",
|
||||
"loginnotify-primary-link": "Label for link to a help page about the feature\n{{Identical|Help}}",
|
||||
"notification-loginnotify-login-fail-email-subject": "Email subject line for email notice that there have been failed login attempts for the user's account. $1 is the user in question.",
|
||||
"notification-loginnotify-login-success-email-subject": "Email subject line for email notice that someone has logged in to the user's account from a computer that has not previously been used. $1 is the user in question.",
|
||||
|
|
|
@ -50,14 +50,6 @@ class Hooks {
|
|||
'category' => 'login-fail',
|
||||
'group' => 'negative',
|
||||
'presentation-model' => PresentationModel::class,
|
||||
// fixme, what does this actually do?
|
||||
'title-message' => 'loginnotify-login-fail',
|
||||
'title-params' => [],
|
||||
// FIXME Should count be a parameter
|
||||
'email-subject-params' => [ 'agent', 'count' ],
|
||||
'email-body-batch-params' => [ 'agent', 'count' ],
|
||||
// FIXME is it ok not to set batch email messages, since
|
||||
// we have immediate flag?
|
||||
'icon' => 'LoginNotify-user-avatar',
|
||||
'immediate' => true,
|
||||
];
|
||||
|
@ -80,7 +72,6 @@ class Hooks {
|
|||
];
|
||||
$notifications['login-success'] = [
|
||||
'category' => 'login-success',
|
||||
// FIXME title-message. What is its purpose??
|
||||
] + $loginBase;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue