* (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
month number without the leading zero
* (bug 13456) categoriespagetext supports PLURAL
+* (bug 18860) Blocks of IPs affecting registered users can now block email
=== Bug fixes in 1.16 ===
# Unset ipb_enable_autoblock for IP blocks, makes no sense
if ( !$this->mUser ) {
$this->mEnableAutoblock = 0;
- $this->mBlockEmail = 0; //Same goes for email...
+
+ }
+ # bug 18860: non-anon-only IP blocks should be allowed to block email
+ if ( !$this->mUser && $this->mAnonOnly ) {
+ $this->mBlockEmail = 0;
}
-
if( !$this->mByName ) {
if( $this->mBy ) {
$this->mByName = User::whoIs( $this->mBy );
if( autoblockRow ) {
autoblockRow.style.display = isIp && !isEmpty ? 'none' : '';
}
-
- var emailblockRow = document.getElementById('wpEnableEmailBan');
- if( emailblockRow ) {
- emailblockRow.style.display = isIp && !isEmpty ? 'none' : '';
- }
var hideuserRow = document.getElementById('wpEnableHideUser');
if( hideuserRow ) {