확장기능:안티스푸프

This page is a translated version of the page Extension:AntiSpoof and the translation is 75% complete.
미디어위키 확장 기능 설명서
AntiSpoof
출시 상태: 안정
구현 User activity
설명 비슷한 이름의 계정 생성 방지
만든 이 Brooke Vibber토론
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible.
MediaWiki >= 1.42
데이터베이스 변경
Composer mediawiki/anti-spoof
테이블 spoofuser
라이선스 GNU General Public License 2.0 or later
다운로드
  • $wgAntiSpoofProhibitedCharacters
  • $wgAntiSpoofAccounts
  • override-antispoof
Quarterly downloads 87 (Ranked 69th)
Public wikis using 2,675 (Ranked 190th)
AntiSpoof 확장 기능 번역 (translatewiki.net에서 가능한 경우)
이슈 미해결 작업 · 버그 보고

안티스푸프(Antispoof)는 이미 등록된 계정명과 유사하여 혼란을 일으키는 계정명의 생성을 방지하는 확장 기능입니다. 이 확장 기능은 여러 문자 체계가 섞여 있거나, 이미 등록되어 있는 다른 계정과 지나치게 비슷한 계정의 생성을 막습니다.

예를 들어, John Doe라는 이름의 계정이 이미 등록되어 있을 경우 안티스푸프는 아래와 같은 계정명의 사용을 금지하게 됩니다.

  • joHn dOE (대소문자 변형)
  • Jοhn Doe (여러 문자 체계 혼용 - Jοhn의 'ο'가 그리스어의 15번째 소문자인 '오미크론'입니다.)
  • John Dоe (여러 문자 체계 혼용 - Dоe의 'о'는 키릴 소문자에 해당합니다.)
  • Јohn Doe (여러 문자 체계 혼용 - Јohn의 'Ј'는 키릴 대문자입니다.)
  • John Đoe (여러 문자 체계 혼용 - Đoe의 'Đ'는 라틴 대문자 D에 추가획을 그은 문자입니다.)
  • Jóhn Doe (여러 문자 체계 혼용 - Jóhn의 'ó'는 라틴 소문자 O입니다.)
  • John ​Doe ('Doe' 앞에 폭이 0인 공백을 삽입한 경우입니다.)
  • Jøhn Doe (여러 문자 체계 혼용 - Jøhn의 'ø'는 스칸디나비아 문자 oe입니다.)
  • J0hn Doe ('o' 대신 숫자 '0'을 입력하였습니다.)

이 외에도 여러 예시가 존재합니다.

설치

  • 파일을 다운로드하고 AntiSpoof 폴더를 extensions/ 디렉토리에 넣어 주세요.
    개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AntiSpoof
  • Git에서 설치할 경우, PHP 의존 기능을 설치하려면 Composer를 실행하여 확장 기능 디렉터리에 composer install --no-dev를 발행하십시오. (잠재적인 문제에 대해서는 작업 T173141 을 참고하십시오.)
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'AntiSpoof' );
    
  • 갱신 스크립트를 실행합니다. 이 스크립트는 이 확장기능을 필요로 하는 데이터 베이스 테이블을 자동적으로 작성합니다.
  • In case user accounts are stored in a shared database, add:
$wgSharedTables[] = 'spoofuser';
  • Run the batchAntiSpoof.php script from the command line to pre-populate the spoofuser table with your wiki's existing usernames.
php maintenance/run.php AntiSpoof:batchAntiSpoof.php
  •   완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
  • To verify that it's working, try creating an account for username "Adm1n"; most wikis have an "Admin" account and so AntiSpoof should reject this lookalike username with a message like "The name Adm1n is too similar to the existing account: Admin".

When installing from Git, please note that this extension requires Composer.

So, after installation from Git change to the directory containing the extension e.g. "../extensions/AntiSpoof/" and run composer install --no-dev, or when updating: composer update --no-dev.

Alternatively as well as preferably add the line "extensions/AntiSpoof/composer.json" to the "composer.local.json" file in the root directory of your wiki like e.g.

{
	"extra": {
		"merge-plugin": {
			"include": [
				"extensions/AntiSpoof/composer.json"
			]
		}
	}
}


같이 보기

  • Equivset (provides the equivalence sets used by AntiSpoof)