Extension talk:AntiSpoof

How do you use it?
I guess the point is to prevent someone from creating a user account name that looks similar to an existing one by mapping similar looking characters. Sounds good. But where are the installation instructions? How do you use this? Where are the files to download? Do I just copy and paste the text somewhere? As-is, this seems totally unusable, yet it's installed on several of the WMF sites, so it seems like a good thing to have. Somebody who understands this thing should add at least some rudimentary docs. Thanks! --Willscrlt 03:34, 25 August 2007 (UTC)


 * I second this motion, a good 3 years later. Asndb 04:36, 15 September 2010 (UTC)

One more year after... I see installation instructions, but the purpose of the extension is still unclear. What is "confusing usernames"? This text at the end of "Install" section:

Note: equivset.ser is set to null Username "Exampla" will be created and regardless if username "Example" is in the database. However, Login error: "??=?" (special characters ) is not allowed to prevent confusing or spoofed usernames: Contains unassigned or deprecated character. Please choose another name.

explains me nothing. Looks like somebody was interrupted in the middle of writing documentation and never get back. I would like to have some explanation with a few examples.

— Van de Bugger 08:57, 27 September 2011 (UTC)

P. S.

The description from the extension code is much more understandable: "Blocks the creation of accounts with mixed-script, confusing and similar usernames", but anyway, description on the extension page is still desired.

Error
require_once("$IP/extensions/AntiSpoof/AntiSpoof.php"); #confusable usernames


 * error:
 * A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)


 * from within function "SpoofUser::getConflict". MySQL returned error "1146: Table 'wikidb.spoofuser' doesn't exist (localhost)".

Retrieved from "http://zooworlds.org/index.php/Special:UserLogin"
 * It looks to me like you haven't followed the installation instructions. Have you run update.php, or, the SQL query listed on the page? SQL Query me!  09:00, 24 June 2008 (UTC)
 * The SQL query listed on the page has been removed. Must everybody who wants to use this (or Extension:AbuseFilter, which requres this) on a MediaWiki site on a shared host eat the cost of switching to a different web host? --Damian Yerrick (talk) 13:31, 24 March 2012 (UTC)

ImageMap dependency?
Why is there a dependency on Extension:ImageMap identified for this extension? --Obliquemotion 19:09, 2 June 2010 (UTC)

Unable to free MySQL result
While installing AntiSpoof r105224 on MW1.18.0 I've received this message (read heading) after running. Looks like everything works well, but reading this message after the command reads the database worries me a bit. Should I be worried about it? Is there a reason for this to appear? 83.44.119.228 22:22, 6 December 2011 (UTC)

Same here, tried running the batch with and without the shared user database line in LocalSettings, I get this warning either way. Going with it and hoping it's alright, anti-spoof is working regardless. Running MW 1.16--184.75.13.139 18:55, 13 January 2012 (UTC)

Error when running update.php
So I get this error

Creating spoofuser table...A database query syntax error has occurred. The last attempted database query was: "CREATE TABLE `spoofuser` ( su_name VARCHAR(255), su_normalized VARCHAR(255), su_legal BOOL, su_error TEXT, PRIMARY KEY (su_name), KEY(su_normalized, su_name) ) ENGINE=MyISAM, DEFAULT CHARSET=utf8 " from within function "DatabaseBase::sourceFile( /$/w/extensions/AntiSpoof/sql/patch-antispoof.mysql.sql )". Database returned error "1071: Specified key was too long; max key length is 1000 bytes (localhost)"

Really don't know why, apparently I can't have more than a 1000 byte key, so how do i fix this?

-- Actually I worked it out, edit patch-antispoof.mysql.sql to have each character be 166 and 167 instead of 255 and 255.