when searching for a specific group and can't be split across pages
* (bug 1702) Display a handy upload link instead of a useless blank link
for [[media:]] links to nonexistent files.
+* (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
=== Caveats ===
wikitext, and will need to be manually fixed if customized.
+=== Configuration changes from 1.4.x: ===
+
+$wgDisableUploads has been replaced with $wgEnableUploads.
+
+$wgWhitelistAccount has been replaced by the 'createaccount' permission
+key in $wgGroupPermissions. To emulate the old effect of setting:
+ $wgWhitelistAccount['user'] = 0;
+set:
+ $wgGroupPermissions['*'] = array( 'read' ); // without createaccount
+
+If $wgWhitelistRead is set, things need to be funked around. This needs work.
+
+bla bla bla
+
+
=== Web installer ===
You can use the web-based installer wizard if you first remove the
$wgWhitelistEdit = false; # true = user must login to edit.
$wgWhitelistRead = false; # Pages anonymous user may see, like: = array ( "Main Page", "Special:Userlogin", "Wikipedia:Help");
-$wgWhitelistAccount = array ( 'user' => 1, 'sysop' => 1, 'developer' => 1 );
$wgAllowAnonymousMinor = false; # Allow anonymous users to mark changes as 'minor'
}
function isAllowedToCreateAccount() {
- global $wgWhitelistAccount;
- $allowed = false;
-
- if (!$wgWhitelistAccount) { return 1; }; // default behaviour
- foreach ($wgWhitelistAccount as $right => $ok) {
- $userHasRight = (!strcmp($right, 'user') || in_array($right, $this->getRights()));
- $allowed |= ($ok && $userHasRight);
- }
- return $allowed;
+ return $this->isAllowed( 'createaccount' );
}
/**