I'm dealing with this problem too. I've found some code to block user creation and editing so it shouldn't happen again, but I'm not looking forward to deleting all the junk one by one...
Copy the following to your LocalSettings.php
:
# Prevent new user registrations by anyone
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = false;
# Disable anonymous editing
$wgGroupPermissions['*']['edit'] = false;
# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['sysop']['edit'] = true;
revision
table. Or possiblyrecentchanges
, if the pages were created recently. It's also possible there is some extension for this purpose.