- EchoBasicFormatter seems AWOL T151413
- onLoginAuthenticateAudit says return bool, but it doesn't return one
- onUserLoadOptions calls isUserOptionOverriden with too many parameters
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Remove EchoBasicFormatter - no longer in use | mediawiki/extensions/LoginNotify | master | +3 -26 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T14884 Login and account creation should be by secure http. | |||
Invalid | None | T11816 Improve security for Special:Userlogin (tracking) | |||
Invalid | Wikinaut | T3932 [DO NOT USE] ENotif/EConfirm & further enhancements (tracking) [superseded by #MediaWiki-Email] | |||
Open | None | T125653 Create new types of notifications | |||
Resolved | • demon | T11838 Send notification to account owner on multiple unsuccessful login attempts | |||
Resolved | Bawolff | T151414 LoginNotify cleanup |
Event Timeline
Theoretically the class extending EchoBasicFormatter should just be deleted - it won't be used because Echo now uses the presentation model and got rid of the old formatting system. See https://www.mediawiki.org/wiki/Extension:Echo/Creating_a_new_notification_type
Relying on $user->getRequest() is misleading IMO since it's using the global request, nothing specific to a user.
I was looking at the code, and I think it currently treats primary and secondary authentication failures the same right ? I'm wonder if with 2FA there will be a very different failure rate on the 2FA auth, and if we need different weight depending on the Authmanager plugin throwing it.
I don't think we will be able to determine that before hand, but maybe we should have some logging, which would allow us to evaluate the experience ?
Yeah. Original this was written pre auth manager so secondary auth was not really a thing yet. That's a good point. Im not really sure what the correct answer is.
Change 333671 had a related patch set uploaded (by Niharika29):
Remove EchoBasicFormatter - no longer in use
@Niharika: This looks done, but the commit summary says "[WIP]". Is it still being worked on or safe to merge?