35 lines
1.5 KiB
Diff
35 lines
1.5 KiB
Diff
diff -Nru mediawiki-1.22.2.orig/includes/DefaultSettings.php mediawiki-1.22.2/includes/DefaultSettings.php
|
|
--- mediawiki-1.22.2.orig/includes/DefaultSettings.php 2014-01-28 01:06:33.000000000 +0100
|
|
+++ mediawiki-1.22.2/includes/DefaultSettings.php 2014-02-22 17:36:12.352426268 +0100
|
|
@@ -4141,7 +4141,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.
|
|
@@ -4173,9 +4173,9 @@
|
|
// 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['*']['editmyusercss'] = true;
|
|
$wgGroupPermissions['*']['editmyuserjs'] = true;
|
|
@@ -4187,7 +4187,7 @@
|
|
#$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;
|