X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c6eae39735ffc8e35d0e625cbe82093f7893b3d3..0607ee8e7c2030a8376e38a87a12a71015b5a0b8:/cookbooks/mediawiki/templates/default/LocalSettings.php.erb diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index e6a0866d2..b4b0ab653 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -209,6 +209,10 @@ $wgWhitelistRead = array ("Special:Userlogin"); # Prevent new user registrations except by sysops $wgGroupPermissions['*']['createaccount'] = false; +# Since 1.32 MW introduced interface-admin group to separate all UI-related rights. This makes sense for bigger sites, +# but for OSM it makes more sense to keep group structure simple. Give all interface-admin rights to sysops. +$wgGroupPermissions['sysop'] = array_merge($wgGroupPermissions['sysop'], $wgGroupPermissions['interface-admin']); + # Restrict access to the upload directory $wgUploadPath = "$wgScriptPath/img_auth.php"; <% end -%>