Index: trunk/phase3/includes/SpecialBlockip.php |
— | — | @@ -243,7 +243,7 @@ |
244 | 244 | |
245 | 245 | global $wgSysopEmailBans; |
246 | 246 | |
247 | | - if ( $wgSysopEmailBans ) { |
| 247 | + if ( $wgSysopEmailBans && $wgUser->isAllowed( 'blockemail' ) ) { |
248 | 248 | $wgOut->addHTML(" |
249 | 249 | <tr> |
250 | 250 | <td> </td> |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1061,6 +1061,7 @@ |
1062 | 1062 | $wgGroupPermissions['sysop']['autoconfirmed'] = true; |
1063 | 1063 | $wgGroupPermissions['sysop']['upload_by_url'] = true; |
1064 | 1064 | $wgGroupPermissions['sysop']['ipblock-exempt'] = true; |
| 1065 | +$wgGroupPermissions['sysop']['blockemail'] = true; |
1065 | 1066 | |
1066 | 1067 | // Permission to change users' group assignments |
1067 | 1068 | $wgGroupPermissions['bureaucrat']['userrights'] = true; |