Use new namespace for various classes

Changes to the use statements done automatically via script

Change-Id: I32e37dc040384422dd625cffe8999bbc658739ce

3 files changed

tree: bf6a9894917ea40e411a2e7d03669ce04e412c4c

  1. .phan/
  2. i18n/
  3. includes/
  4. maintenance/
  5. sql/
  6. tests/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. .phpcs.xml
  11. CODE_OF_CONDUCT.md
  12. composer.json
  13. COPYING
  14. extension.json
  15. Gruntfile.js
  16. package-lock.json
  17. package.json
  18. README.md
  19. UserAvatar.svg

README.md

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;