32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
diff -Nru mediawiki-1.21.2.orig/includes/DefaultSettings.php mediawiki-1.21.2/includes/DefaultSettings.php
|
|
--- mediawiki-1.21.2.orig/includes/DefaultSettings.php 2013-09-03 20:56:39.000000000 +0200
|
|
+++ mediawiki-1.21.2/includes/DefaultSettings.php 2013-09-16 15:05:04.329722387 +0200
|
|
@@ -3914,7 +3914,7 @@
|
|
* Should editors be required to have a validated e-mail
|
|
* address before being allowed to edit?
|
|
*/
|
|
-$wgEmailConfirmToEdit = false;
|
|
+$wgEmailConfirmToEdit = true;
|
|
|
|
/**
|
|
* Permission keys given to users in each group.
|
|
@@ -3946,14 +3946,14 @@
|
|
// Implicit group for all visitors
|
|
$wgGroupPermissions['*']['createaccount'] = true;
|
|
$wgGroupPermissions['*']['read'] = true;
|
|
-$wgGroupPermissions['*']['edit'] = true;
|
|
-$wgGroupPermissions['*']['createpage'] = true;
|
|
-$wgGroupPermissions['*']['createtalk'] = true;
|
|
+$wgGroupPermissions['*']['edit'] = false;
|
|
+$wgGroupPermissions['*']['createpage'] = false;
|
|
+$wgGroupPermissions['*']['createtalk'] = false;
|
|
$wgGroupPermissions['*']['writeapi'] = true;
|
|
#$wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
|
|
|
|
// Implicit group for all logged-in accounts
|
|
-$wgGroupPermissions['user']['move'] = true;
|
|
+$wgGroupPermissions['user']['move'] = false;
|
|
$wgGroupPermissions['user']['move-subpages'] = true;
|
|
$wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
|
|
$wgGroupPermissions['user']['movefile'] = true;
|