Clone this repo:
  1. 0c7066c Remove calls to deprecated MetricInterface::copyToStatsdAt by Umherirrender · 4 days ago master wmf/1.47.0-wmf.11 wmf/branch_cut_pretest wmf/next
  2. 37c595d Localisation updates from https://translatewiki.net. by Translation updater bot · 8 days ago
  3. 1439cd6 Localisation updates from https://translatewiki.net. by Translation updater bot · 5 weeks ago wmf/1.47.0-wmf.10 wmf/1.47.0-wmf.9
  4. 651711b tests: Only run relevant job in LoginNotifyTest by Umherirrender · 6 weeks ago
  5. 827ba86 Localisation updates from https://translatewiki.net. by Translation updater bot · 7 weeks ago

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 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.
  • 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;