Go to file
Translation updater bot bc05842dea Localisation updates from https://translatewiki.net.
Change-Id: I848dbfaf89c7c73ea42097fb95d9a4f00a188eca
2024-04-26 09:48:33 +02:00
.phan Use LogicException instead of Exception 2024-02-21 22:46:45 +01:00
i18n Localisation updates from https://translatewiki.net. 2024-04-26 09:48:33 +02:00
includes build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0 2024-03-11 19:29:34 +01:00
maintenance Use namespaced classes 2024-01-06 17:07:32 +01:00
sql LoginNotify seen subnets table 2023-09-04 15:04:36 +10:00
tests/phpunit build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0 2024-03-11 19:29:34 +01:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-14 00:53:19 +00:00
.gitignore build: Updating mkdirp to 0.5.3 2020-03-21 02:54:24 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:02:52 -07:00
.phpcs.xml build: Updating dependencies 2021-01-30 03:54:05 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 14:12:15 +00:00
composer.json build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0 2024-03-11 19:29:34 +01:00
COPYING Initial version of extension to notify people on failed login attempts. 2016-03-28 04:29:04 -04:00
extension.json Use loginnotify_seen_net table by default 2024-04-11 13:02:44 +01:00
Gruntfile.js build: Updating dependencies 2021-01-30 03:54:05 +00:00
package-lock.json build: Updating eslint-config-wikimedia to 0.27.0 2024-04-19 01:03:01 +00:00
package.json build: Updating eslint-config-wikimedia to 0.27.0 2024-04-19 01:03:01 +00:00
README.md Use the new DatabaseVirtualDomains feature 2023-10-26 14:50:22 +11:00
UserAvatar.svg Update 'UserAvatar' to latest WikimediaUI icon 2018-11-27 10:26:09 -08:00

The LoginNotify extension notifies you when someone logs into your account. It can be configured to give warnings after a certain number of failed login attempts (The number is configurable, and can be different between unknown IPs/devices and known IP/devices). It can also give echo/email notices for successful logins from IPs you don't normally use. It can optionally integrate into the CheckUser extension in order to determine if the login is from an IP address you don't normally use. It can also set a cookie to try and determine if the login is from a device you normally use.

Installation

  • This extension requires the Echo extension to be installed. This extension can optionally integrate with the CheckUser extension if it is installed, but does not require it.
  • Download and place the file(s) in a directory called LoginNotify in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php: wfLoadExtension( 'LoginNotify' );
  • Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

See extension.json.

To place the loginnotify_seen_net table in a shared database, use

$wgVirtualDomainsMapping['virtual-LoginNotify'] = [
	'db' => '<shared database name>'
];
$wgLoginNotifyUseCentralId = true;