[Mediawiki-l] manual deletion of user

Brion Vibber brion at pobox.com
Sat Nov 4 14:26:53 UTC 2006


Tom Brown wrote:
> I created a user that I now want to remove. The FAQ says I cannot delete a 
> user (why?) but I can block the user. So, I tried to block the user and got 
> this error:
> 
> Query failed: ERROR: invalid input syntax for type cidr
> 
> I entered a username instead of an ip address to block. The username was used 
> in place of the ip address and the php code tried to put the username into 
> the ipb_address field of the ipblocks table which, is of type cidr. So, the 
> insert fails. Any ideas on fixing this? I did not see a bug for this in 
> bugzilla. It is a postgresql backend, if that makes a difference.

Looks like the postgres schema is wrong, so it won't work.

> I found the user record in the mwuser table. Is it possible to delete this 
> record without causing problems elsewhere in the application?

Maybe, maybe not. Try it and see.

-- brion vibber (brion @ pobox.com)



More information about the MediaWiki-l mailing list