출시 상태: 안정
|설명||의심스러운 로그인을 사용자에게 알림|
|만든이||Brian Wolff (Bawolff토론)|
|LoginNotify 확장 기능 번역 (translatewiki.net에서 가능한 경우)|
|이슈||미해결 작업 · 버그 보고|
LoginNotify 확장 기능은 누군가 당신의 계정에 로그인할 때 그것을 당신에게 알립니다. 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 IPs/devices). It can also give Echo notices (which can also be emailed) 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.
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
- 아래의 코드를 LocalSettings.php의 말미에 추가합니다: Configure as required.
wfLoadExtension( 'LoginNotify' );
- 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
미디어위키 1.24 이하를 실행 중인 사용자에게:
wfLoadExtension()을 사용하여 이 확장기능을 설치하는 새로운 방법을 기술한 것으로,
wfLoadExtension( 'LoginNotify' ); 대신 초기 버전(미디어위키 1.24 이하)에 이 확장기능을 설치하려면 다음을 사용해야 합니다:
Once LoginNotify is installed, whenever a user logs into the wiki, their IP subnet is cached on the server and a cookie named
loginnotify_prevlogins is stored in their browser.
These tokens, optionally along with CheckUser tables, are used to see if subsequent logins are coming from a known IP/device.
Parameters that can be set (in "LocalSettings.php"):
||The number of failed login attempts to permit from a known IP before a notification is triggered.||10|
||The number of failed login attempts to permit from a new IP before a notification is triggered.||3|
||The time-to-live of the count of failed login attempts from a known IP (from the time of the first failed attempt).||604800 (7일)|
||The time-to-live of the count of failed login attempts from a new IP (from the time of the first failed attempt).||1209600 (14일)|
||Whether to trigger a notification after failed logins from known IPs.|
||Whether to trigger a notification after successful logins from unknown IPs.|
||Set different default notification preferences for different user groups. For user groups that have any of the user rights listed in this array, the preferences specified in Hooks:getOverridenOptions() are on by default. ("Failed login attempts" web notifications and "Login from new computer" web notifications.)|
||Use this key instead of
||Expiration of the cookie.||15552000 (180일)|
||To allow sharing login cookies between sites on different subdomains, set this to the parent domain name.|
||Maximum number of users (records) to track as having successfully logged in on a particular device.||6|
||How long to cache IPs in memcache. Set to
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|