Question...
I have the following in my LocalSettings.php file, and the important part
here is that I am not allowing anyone to edit the pages unless they are a
user. I am also not allowing guests to create user accounts, and therefore
I am the only one who can edit the wiki or create accounts. This makes
sense with the following settings, right?
My question, though, is that I found some kind of bug, it seems. I was
messing around today, and I logged out of my account on my wiki. I then
clicked on the link that says "log in or create account" (even though no one
but me can do that lol) On the page that is shown, I get a box for username
and password, the remember me box, and two buttons... a login button and a
mail me a new password button. It also shows the text for the creation of a
new account, but the new account text-entry boxes are not shown, and neither
is the create account button. This is fine, but I wanted to clean it up,
and I have no idea how to remove this portion of the Special:Userlogin
page...
Here's where it gets tricky, though...
I decided to try something out, to see if it would work for the heck of it.
I doubted it, but who knows, right? I edited the URL address bar of my
browser, and typed in:
http://www.mydomain.com/index.php?title=Special:Userlogin&action=edit
When I hit enter to see if I could edit that page (yeah right), surprise
surprise!!! You can't edit it
INSTEAD, it loads up the other text boxes to create an account and even the
submit button for the create account form!
This is not a good thing at all :(
MediaWiki 1.5.6, Debian Sarge 3.1, Kernel 2.6.8-2-686, Apache
1.3.33(GNU/Linux)
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['*' ]['read'] = true;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['user' ]['move'] = true;
$wgGroupPermissions['user' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = true;
$wgGroupPermissions['user' ]['upload'] = true;
$wgGroupPermissions['bot' ]['bot'] = true;
$wgGroupPermissions['sysop']['block'] = true;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['sysop']['delete'] = true;
$wgGroupPermissions['sysop']['editinterface'] = true;
$wgGroupPermissions['sysop']['import'] = true;
$wgGroupPermissions['sysop']['importupload'] = true;
$wgGroupPermissions['sysop']['move'] = true;
$wgGroupPermissions['sysop']['patrol'] = true;
$wgGroupPermissions['sysop']['protect'] = true;
$wgGroupPermissions['sysop']['rollback'] = true;
$wgGroupPermissions['sysop']['upload'] = true;
$wgGroupPermissions['bureaucrat']['userrights'] = true;