remove user right 'upload_by_url' from sysop by default
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 22 Jun 2012 16:26:12 +0000 (18:26 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 22 Jun 2012 16:26:12 +0000 (18:26 +0200)
When the setting is false by default, no need that this user right is
assigned to a group by default.

Change-Id: Ia03bb69fb724a73c1d377acede6559d94b88fcc1

RELEASE-NOTES-1.20
includes/DefaultSettings.php

index 07d93ee..87cee35 100644 (file)
@@ -20,6 +20,8 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on servers
   using like nginx, lighttpd, and apache over fastcgi. MediaWiki now always extracts
   path info from REQUEST_URI if it's available.
+* The user right 'upload_by_url' is no longer given to sysops by default.
+  This only affects installations which have $wgAllowCopyUploads set to true.
 
 === New features in 1.20 ===
 * Added TitleIsAlwaysKnown hook which gets called when determining if a page exists.
index 0a3d4ad..00b2c6a 100644 (file)
@@ -466,6 +466,7 @@ $wgCacheSharedUploads = true;
 /**
 * Allow for upload to be copied from an URL. Requires Special:Upload?source=web
 * The timeout for copy uploads is set by $wgHTTPTimeout.
+* You have to assign the user right 'upload_by_url' to a user group, to use this.
 */
 $wgAllowCopyUploads = false;
 /**
@@ -3592,7 +3593,6 @@ $wgGroupPermissions['sysop']['reupload']         = true;
 $wgGroupPermissions['sysop']['reupload-shared']  = true;
 $wgGroupPermissions['sysop']['unwatchedpages']   = true;
 $wgGroupPermissions['sysop']['autoconfirmed']    = true;
-$wgGroupPermissions['sysop']['upload_by_url']    = true;
 $wgGroupPermissions['sysop']['ipblock-exempt']   = true;
 $wgGroupPermissions['sysop']['blockemail']       = true;
 $wgGroupPermissions['sysop']['markbotedits']     = true;
@@ -3602,6 +3602,7 @@ $wgGroupPermissions['sysop']['noratelimit']      = true;
 $wgGroupPermissions['sysop']['movefile']         = true;
 $wgGroupPermissions['sysop']['unblockself']      = true;
 $wgGroupPermissions['sysop']['suppressredirect'] = true;
+#$wgGroupPermissions['sysop']['upload_by_url']    = true;
 #$wgGroupPermissions['sysop']['mergehistory']     = true;
 
 // Permission to change users' group assignments