dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7748d5
)
Don't treat edit blocks as read blocks here
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 27 Sep 2008 18:56:17 +0000
(18:56 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 27 Sep 2008 18:56:17 +0000
(18:56 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
b1fcce2
..
c613f0a
100644
(file)
--- 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