Index: trunk/phase3/maintenance/archives/patch-ipb_allow_usertalk.sql |
— | — | @@ -1,3 +1,3 @@ |
2 | 2 | -- Adding ipb_allow_usertalk for blocks |
3 | 3 | ALTER TABLE /*$wgDBprefix*/ipblocks |
4 | | - ADD ipb_allow_usertalk bool NOT NULL default 0; |
| 4 | + ADD ipb_allow_usertalk bool NOT NULL default 1; |
Index: trunk/phase3/includes/User.php |
— | — | @@ -1273,8 +1273,9 @@ |
1274 | 1274 | |
1275 | 1275 | wfDebug( __METHOD__.": asking isBlocked()\n" ); |
1276 | 1276 | $blocked = $this->isBlocked( $bFromSlave ); |
| 1277 | + $allowUsertalk = ($wgBlockAllowsUTEdit ? $this->mAllowUsertalk : false); |
1277 | 1278 | # If a user's name is suppressed, they cannot make edits anywhere |
1278 | | - if ( !$this->mHideName && $this->mAllowUsertalk && $title->getText() === $this->getName() && |
| 1279 | + if ( !$this->mHideName && $allowUsertalk && $title->getText() === $this->getName() && |
1279 | 1280 | $title->getNamespace() == NS_USER_TALK ) { |
1280 | 1281 | $blocked = false; |
1281 | 1282 | wfDebug( __METHOD__.": self-talk page, ignoring any blocks\n" ); |