[go: up one dir, main page]

MediaWiki extension LoginNotify

Clone this repo:
  1. 4b45420 Pass function name to IDatabase::onTransactionCommitOrIdle by Umherirrender · 9 days ago master wmf/1.43.0-wmf.24 wmf/branch_cut_pretest
  2. 55060a5 Localisation updates from https://translatewiki.net. by Translation updater bot · 5 weeks ago wmf/1.43.0-wmf.21 wmf/1.43.0-wmf.22 wmf/1.43.0-wmf.23 wmf/next
  3. d7d86c0 Merge "Use real type hints for class properties holding injected services" by jenkins-bot · 5 weeks ago wmf/1.43.0-wmf.20
  4. 1e6d5ea Merge "build: Update MediaWiki requirement to 1.43" by jenkins-bot · 5 weeks ago
  5. 4fd78d0 build: Updating micromatch to 4.0.8 by libraryupgrader · 5 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 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;