* (bug 7785) Postgres compatibility for timestamps in RC feeds
* (bug 7550) Normalize user parameter normally on Special:Log
* (bug 7294) Fix PATH search for diff3 on install
+* Various fixes related to the blocking change re: autoblocks. On inserting
+ an IP block, the ipb_enable_autoblock field is now automagically blanked,
+ because it doesn't make any sense for an IP. Additionally, IP blocks
+ without the ipb_enable_autoblock option no longer show up as "autoblock
+ disabled" on Special:Ipblocklist.
== Languages updated ==
$this->mAnonOnly = 0;
}
+ # Unset ipb_enable_autoblock for IP blocks, makes no sense
+ if ( !$this->mUser ) {
+ $this->mEnableAutoblock = 0;
+ }
+
# Don't collide with expired blocks
Block::purgeExpired();
if ( $block->mCreateAccount ) {
$properties[] = $msg['createaccountblock'];
}
- if (!$block->mEnableAutoblock ) {
+ if (!$block->mEnableAutoblock && !$block->mAddress ) {
$properties[] = $msg['noautoblockblock'];
}