From: Aaron Schulz Date: Sat, 27 Sep 2008 18:56:17 +0000 (+0000) Subject: Don't treat edit blocks as read blocks here X-Git-Tag: 1.31.0-rc.0~45068 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=68960cfd72d99a3f2a93ba91af66b6d4ff693615;p=lhc%2Fweb%2Fwiklou.git Don't treat edit blocks as read blocks here --- diff --git a/includes/Title.php b/includes/Title.php index b1fcce20d3..c613f0a4a7 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1121,7 +1121,8 @@ class Title { $errors[] = array( 'confirmedittext' ); } - if ( $user->isBlockedFrom( $this ) && $action != 'createaccount' ) { + // Edit blocks should not affect reading. Account creation blocks handled at userlogin. + if ( $user->isBlockedFrom( $this ) && $action != 'read' && $action != 'createaccount' ) { $block = $user->mBlock; // This is from OutputPage::blockedPage