I was attacked quite badly by bots today, over a thousand of new users in fact, 4000 pages. I immediately went into LocalSettings and added this code:
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['sysop']['edit'] = true;
$wgBlockAllowsUTEdit = false;
$wgGroupPermissions['*']['createpage'] = false;
But it didn't do a thing, they kept creating accounts, editing, and making new pages. I couldn't figure it out and added these lines too:
$wgRevokePermissions['user']['edit'] = true;
$wgRevokePermissions['user']['createpage'] = true;
That seemed to do it, but I couldn't post myself, as the sysop/admin. So I created a new category of user, added myself to that category and added these lines:
$wgRevokePermissions['administrators']['edit'] = false;
$wgGroupPermissions['administrators']['edit'] = true;
Now I am confirmed to be in that group, I am admin in every way, I've checked my user rights. But I still can't post. Anyone know why they could for so long and I still can't? It's bizarre.