You are here Home > Know-how > MediaWiki - CMS > Administration of MediaWiki > User Management
MediaWiki - CMS
 

6.3 User Management

15.06.2007
6.2 Admin Maintenance [  up  ] - [ A - Z ] - [ top ] 7 Authentication / Authorization

X X X X

Delete a User


Important  
MediaWiki FAQ: How do I delete a user from my list of users?

MediaWiki does not support the deletion of user accounts. To prevent an account from being used, either scramble the password or set up an indefinite block on the account.
Full Story



Block a User

You might just block a user as WikiSysop. Take note this typically does not prevents the user could login but he/she can't modify pages anymore.
List blocked users: http://localhost/mediawiki/index.php/Special:Ipblocklist

(Tested with MediaWiki 1.6.8)

Get id of user to be deleted.

SELECT user_id, user_name, user_real_name FROM <pref>_user;

Delete records
DELETE FROM <pref>_user WHERE user_id=<id>;
DELETE FROM <pref>_user_newtalk WHERE user_id=<id>;
DELETE FROM <pref>_user_groups WHERE ug_user=<id>;
DELETE FROM <pref>_watchlist WHERE wl_user=<id>;



See also:


6.2 Admin Maintenance       A - Z Index       Top       Disclaimer       7 Authentication / Authorization


$Id: user-management.html,v 1.41 2007/06/15 11:49:14 webcms Exp $
copyright © 2005-2007 by reto