From 68960cfd72d99a3f2a93ba91af66b6d4ff693615 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 27 Sep 2008 18:56:17 +0000 Subject: [PATCH] Don't treat edit blocks as read blocks here --- includes/Title.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1