Extension:Deleteuser

Deleteuser is an extension for deleting users from database.

Using
Enter special page Special:Deleteuser, type username and press Delete.

Installation

 * 1) Make /extensions/Deleteuser directory in your MediaWiki folder.
 * 2) Copy all three extension files to that new directory.
 * 3) Add this line in LocalSettings.php: require_once("extensions/Deleteuser/SpecialDeleteuser.php");
 * 4) If you have Makesysop extension, replace this line: $wgGroupPermissions['bureaucrat']['deleteuser'] = true; in SpecialDeleteuser.php to: $wgGroupPermissions['steward']['deleteuser'] = true;

Localization
The file SpecialDeleteuser.i18n.php contains arrays for localized versions. For example, a German version could be added that reads as follows $wgDeleteuserMessages['de'] = array(       'deleteuser'       => 'Benutzerlöschung',        'deleteusername'   => 'Benutzername:',        'deleteusersubmit' => 'Löschen',        'deleteusererrordoesnotexist' => 'Ein Benutzer "$1" existiert nicht',        'deleteusererrorinvalid'      => 'Der Benutzername "$1" ist ungültig',        'deleteusersuccess'           => 'Der Benutzer "$1" (mit $2 Einträgen) wurde gelöscht.',        'deleteuserlogpage'     => 'Benutzerlöschungs-Logbuch',        'deleteuserlogpagetext' => 'Hier ist eine Liste der letzten gelöschten Benutzer.',        'deleteuserlogentry'    => '', # Don't translate this        'deleteuserlog'         => 'Gelöscht wurde der Benutzer "$1" (mit $2 Einträgen)',

Changelog and known bugs
Bugs * The extension does not work in my environment: -MediaWiki 1.6.8 with page access restriction patch -PHP: 4.3.4 with MySQL: 4.0.18 -Extensions Tasks 0.51 and EmbedURL * For me, it doesn't work either. It seems to use ExtensionFunctions.PHP which is not supported after 1.6 see here [mwusers.com] Even after installing it, it didn't work. 8-(
 * 27 October 2006 - published first version of extension.


 * There is a bug in the DeleteuserSQL module, in the call to the delete functions. The "$uid" variable is the local instance and need to be changed to the class variable, as below:

$dbw->delete( 'user', array ( 'user_id' => $this->uid ), $fname ); $dbw->delete( 'user_groups', array ( 'ug_user' => $this->uid ), $fname );

How it works?
This extension does these SQL querries: DELETE FROM `user_groups` WHERE ug_user = here user ID; DELETE FROM `user` WHERE user_id = here user ID;

Links
Information : Extension doesn't works!


 * Deleteuser code (zip)
 * Contact with author
 * Author's userpage