Grant 'editcontentmodel' to all sysops by default
authorKunal Mehta <legoktm@gmail.com>
Mon, 16 Mar 2015 01:33:09 +0000 (18:33 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sun, 28 Feb 2016 23:32:43 +0000 (15:32 -0800)
This is the first step before this userright can be granted to everyone
(or at least 'user').

There were a few issues with granting this permission at all on public
wikis (tracked at T85847) which are now all fixed.

Bug: T85847
Change-Id: Idcaaaaa5cc3fd7c3efca6c57698767689b9a1d09

includes/DefaultSettings.php

index 41bf42b..4f27f12 100644 (file)
@@ -4875,6 +4875,7 @@ $wgGroupPermissions['sysop']['undelete'] = true;
 $wgGroupPermissions['sysop']['editinterface'] = true;
 $wgGroupPermissions['sysop']['editusercss'] = true;
 $wgGroupPermissions['sysop']['edituserjs'] = true;
+$wgGroupPermissions['sysop']['editcontentmodel'] = true;
 $wgGroupPermissions['sysop']['import'] = true;
 $wgGroupPermissions['sysop']['importupload'] = true;
 $wgGroupPermissions['sysop']['move'] = true;