Extension:AntiSpoof
From MediaWiki.org
|
AntiSpoof Release status: stable |
|||
|---|---|---|---|
| Implementation | User activity | ||
| Description | Prevents the creation of confusable usernames. | ||
| Author(s) | Brion Vibber (Brion VIBBERTalk) | ||
| MediaWiki | 1.13+ | ||
| Database changes | yes | ||
| License | GPL v2 or later | ||
| Download | Download snapshot Subversion [Help] |
||
|
|||
|
|||
|
|||
|
Check usage (experimental) |
|||
The AntiSpoof extension is an extension for preventing confusable usernames from being created. It blocks the creation of accounts with mixed-script, confusing and similar usernames.
For example, if user John Doe is already registered, the extension will block attempts to register:
- John Dоe ("о" in Dоe is Cyrillic small letter O),
- Јohn Doe ("Ј" in Јohn is Cyrillic capital letter Je),
- John Đoe ("Đ" in Đoe is Latin capital letter D with stroke),
- Jóhn Doe ("ó" in Jóhn is Latin small letter O with acute),
- John Doe (there is Zero-width space before Doe),
etc.
[edit] Installation
- Download the files from SVN or download a snapshot. Choose the version that matches your version of MediaWiki.
- Create a directory
AntiSpoofin your$IP/extensionsdirectory. - Extract the files to this
$IP/extensions/AntiSpoofdirectory. - Add
to the bottom of LocalSettings.php.require_once( "$IP/extensions/AntiSpoof/AntiSpoof.php" );
- In case user accounts are stored in a shared database, add
just after that line.$wgSharedTables[] = 'spoofuser';
- Add the required tables to the database; on the command line, enter:
(Note: Your designated database user needs to have CREATE rights on your MediaWiki database.)php maintenance/update.php - Run the batchAntiSpoof.php script; on the command line to pre-populate the spoof usernames. Enter:
php extensions/AntiSpoof/maintenance/batchAntiSpoof.php
- Installation can now be verified through Special:Version of your wiki.
[edit] See also
|
|
This extension is being used on one or more of Wikimedia's wikis. This means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
| Language: | English • 日本語 • Русский |
|---|
Categories:
- Stable extensions
- User activity extensions
- Extensions in Wikimedia version control
- Extensions which add rights
- LoadExtensionSchemaUpdates extensions
- AbortNewAccount extensions
- AddNewAccount extensions
- UserCreateForm extensions
- RenameUserComplete extensions
- All extensions
- 2012 Q1 Extension Page Review Drive - completed
- Extensions used on Wikimedia