r32334 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32333‎ | r32334 | r32335 >
Date:17:15, 22 March 2008
Author:ialex
Status:old
Tags:
Comment:
* Per r32164: adding commented out 'editprotected' right to group 'bot'
* Fix spaces
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1083,23 +1083,23 @@
10841084 $wgGroupPermissions = array();
10851085
10861086 // Implicit group for all visitors
1087 -$wgGroupPermissions['*' ]['createaccount'] = true;
1088 -$wgGroupPermissions['*' ]['read'] = true;
1089 -$wgGroupPermissions['*' ]['edit'] = true;
1090 -$wgGroupPermissions['*' ]['createpage'] = true;
1091 -$wgGroupPermissions['*' ]['createtalk'] = true;
 1087+$wgGroupPermissions['*' ]['createaccount'] = true;
 1088+$wgGroupPermissions['*' ]['read'] = true;
 1089+$wgGroupPermissions['*' ]['edit'] = true;
 1090+$wgGroupPermissions['*' ]['createpage'] = true;
 1091+$wgGroupPermissions['*' ]['createtalk'] = true;
10921092
10931093 // Implicit group for all logged-in accounts
1094 -$wgGroupPermissions['user' ]['move'] = true;
1095 -$wgGroupPermissions['user' ]['read'] = true;
1096 -$wgGroupPermissions['user' ]['edit'] = true;
1097 -$wgGroupPermissions['user' ]['createpage'] = true;
1098 -$wgGroupPermissions['user' ]['createtalk'] = true;
1099 -$wgGroupPermissions['user' ]['upload'] = true;
1100 -$wgGroupPermissions['user' ]['reupload'] = true;
1101 -$wgGroupPermissions['user' ]['reupload-shared'] = true;
1102 -$wgGroupPermissions['user' ]['minoredit'] = true;
1103 -$wgGroupPermissions['user' ]['purge'] = true; // can use ?action=purge without clicking "ok"
 1094+$wgGroupPermissions['user' ]['move'] = true;
 1095+$wgGroupPermissions['user' ]['read'] = true;
 1096+$wgGroupPermissions['user' ]['edit'] = true;
 1097+$wgGroupPermissions['user' ]['createpage'] = true;
 1098+$wgGroupPermissions['user' ]['createtalk'] = true;
 1099+$wgGroupPermissions['user' ]['upload'] = true;
 1100+$wgGroupPermissions['user' ]['reupload'] = true;
 1101+$wgGroupPermissions['user' ]['reupload-shared'] = true;
 1102+$wgGroupPermissions['user' ]['minoredit'] = true;
 1103+$wgGroupPermissions['user' ]['purge'] = true; // can use ?action=purge without clicking "ok"
11041104
11051105 // Implicit group for accounts that pass $wgAutoConfirmAge
11061106 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
@@ -1110,46 +1110,47 @@
11111111
11121112 // Users with bot privilege can have their edits hidden
11131113 // from various log pages by default
1114 -$wgGroupPermissions['bot' ]['bot'] = true;
1115 -$wgGroupPermissions['bot' ]['autoconfirmed'] = true;
1116 -$wgGroupPermissions['bot' ]['nominornewtalk'] = true;
1117 -$wgGroupPermissions['bot' ]['autopatrol'] = true;
 1114+$wgGroupPermissions['bot' ]['bot'] = true;
 1115+$wgGroupPermissions['bot' ]['autoconfirmed'] = true;
 1116+$wgGroupPermissions['bot' ]['nominornewtalk'] = true;
 1117+$wgGroupPermissions['bot' ]['autopatrol'] = true;
11181118 $wgGroupPermissions['bot' ]['suppressredirect'] = true;
1119 -$wgGroupPermissions['bot' ]['apihighlimits'] = true;
 1119+$wgGroupPermissions['bot' ]['apihighlimits'] = true;
 1120+#$wgGroupPermissions['bot' ]['editprotected'] = true; // can edit all protected pages without cascade protection enabled
11201121
11211122 // Most extra permission abilities go to this group
1122 -$wgGroupPermissions['sysop']['block'] = true;
1123 -$wgGroupPermissions['sysop']['createaccount'] = true;
1124 -$wgGroupPermissions['sysop']['delete'] = true;
1125 -$wgGroupPermissions['sysop']['bigdelete'] = true; // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
1126 -$wgGroupPermissions['sysop']['deletedhistory'] = true; // can view deleted history entries, but not see or restore the text
1127 -$wgGroupPermissions['sysop']['undelete'] = true;
1128 -$wgGroupPermissions['sysop']['editinterface'] = true;
1129 -$wgGroupPermissions['sysop']['editusercssjs'] = true;
1130 -$wgGroupPermissions['sysop']['import'] = true;
1131 -$wgGroupPermissions['sysop']['importupload'] = true;
1132 -$wgGroupPermissions['sysop']['move'] = true;
1133 -$wgGroupPermissions['sysop']['patrol'] = true;
1134 -$wgGroupPermissions['sysop']['autopatrol'] = true;
1135 -$wgGroupPermissions['sysop']['protect'] = true;
1136 -$wgGroupPermissions['sysop']['proxyunbannable'] = true;
1137 -$wgGroupPermissions['sysop']['rollback'] = true;
1138 -$wgGroupPermissions['sysop']['trackback'] = true;
1139 -$wgGroupPermissions['sysop']['upload'] = true;
1140 -$wgGroupPermissions['sysop']['reupload'] = true;
1141 -$wgGroupPermissions['sysop']['reupload-shared'] = true;
1142 -$wgGroupPermissions['sysop']['unwatchedpages'] = true;
1143 -$wgGroupPermissions['sysop']['autoconfirmed'] = true;
1144 -$wgGroupPermissions['sysop']['upload_by_url'] = true;
1145 -$wgGroupPermissions['sysop']['ipblock-exempt'] = true;
1146 -$wgGroupPermissions['sysop']['blockemail'] = true;
1147 -$wgGroupPermissions['sysop']['markbotedits'] = true;
 1123+$wgGroupPermissions['sysop']['block'] = true;
 1124+$wgGroupPermissions['sysop']['createaccount'] = true;
 1125+$wgGroupPermissions['sysop']['delete'] = true;
 1126+$wgGroupPermissions['sysop']['bigdelete'] = true; // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
 1127+$wgGroupPermissions['sysop']['deletedhistory'] = true; // can view deleted history entries, but not see or restore the text
 1128+$wgGroupPermissions['sysop']['undelete'] = true;
 1129+$wgGroupPermissions['sysop']['editinterface'] = true;
 1130+$wgGroupPermissions['sysop']['editusercssjs'] = true;
 1131+$wgGroupPermissions['sysop']['import'] = true;
 1132+$wgGroupPermissions['sysop']['importupload'] = true;
 1133+$wgGroupPermissions['sysop']['move'] = true;
 1134+$wgGroupPermissions['sysop']['patrol'] = true;
 1135+$wgGroupPermissions['sysop']['autopatrol'] = true;
 1136+$wgGroupPermissions['sysop']['protect'] = true;
 1137+$wgGroupPermissions['sysop']['proxyunbannable'] = true;
 1138+$wgGroupPermissions['sysop']['rollback'] = true;
 1139+$wgGroupPermissions['sysop']['trackback'] = true;
 1140+$wgGroupPermissions['sysop']['upload'] = true;
 1141+$wgGroupPermissions['sysop']['reupload'] = true;
 1142+$wgGroupPermissions['sysop']['reupload-shared'] = true;
 1143+$wgGroupPermissions['sysop']['unwatchedpages'] = true;
 1144+$wgGroupPermissions['sysop']['autoconfirmed'] = true;
 1145+$wgGroupPermissions['sysop']['upload_by_url'] = true;
 1146+$wgGroupPermissions['sysop']['ipblock-exempt'] = true;
 1147+$wgGroupPermissions['sysop']['blockemail'] = true;
 1148+$wgGroupPermissions['sysop']['markbotedits'] = true;
11481149 $wgGroupPermissions['sysop']['suppressredirect'] = true;
1149 -$wgGroupPermissions['sysop']['apihighlimits'] = true;
1150 -#$wgGroupPermissions['sysop']['mergehistory'] = true;
 1150+$wgGroupPermissions['sysop']['apihighlimits'] = true;
 1151+#$wgGroupPermissions['sysop']['mergehistory'] = true;
11511152
11521153 // Permission to change users' group assignments
1153 -$wgGroupPermissions['bureaucrat']['userrights'] = true;
 1154+$wgGroupPermissions['bureaucrat']['userrights'] = true;
11541155 // Permission to change users' groups assignments across wikis
11551156 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
11561157

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r32164(bug 13137) Bots to edit protected pages...huji11:23, 19 March 2008

Status & tagging log