Skip to content
Snippets Groups Projects
Commit 9e097560 authored by nl6720's avatar nl6720 Committed by Jelle van der Waa
Browse files

archwiki: Update access levels: add additional rights to sysops

MediaWiki 1.32 split off sitewide CSS, JS and JSON editing from the editinterface right. These additional rights are now granted to the interface-admin group, but not to sysops.
Add back the lost rights so that sysops once again have full control over the user interface.

Mediawiki 1.34 grants rights to the suppress group by default. Since Arch Wiki does not need the kind of separation that Wikimedia sites use, grant all those rights to sysops.
parent 120d4d5a
No related branches found
No related tags found
1 merge request!516archwiki: merge LocalSettings.archlinux.org.php from the archwiki git repo into LocalSettings.php.j2
......@@ -233,6 +233,12 @@ $wgGroupPermissions['*']['edit'] = false;
# extra rights for sysop
$wgGroupPermissions['sysop']['deleterevision'] = true;
if ( isset( $wgGroupPermissions['interface-admin'] ) ) {
$wgGroupPermissions['sysop'] += $wgGroupPermissions['interface-admin'];
}
if ( isset( $wgGroupPermissions['suppress'] ) ) {
$wgGroupPermissions['sysop'] += $wgGroupPermissions['suppress'];
}
# disable uploads by normal users
$wgGroupPermissions['user']['upload'] = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment