Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6308
patch.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:54 PM
2014-11-21 22:54:50 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
patch.patch
View Options
Index: includes/specials/SpecialBlockip.php
===================================================================
--- includes/specials/SpecialBlockip.php (revision 57369)
+++ includes/specials/SpecialBlockip.php (working copy)
@@ -454,7 +454,7 @@
# If the name was hidden and the blocking user cannot hide
# names, then don't allow any block changes...
if( $currentBlock->mHideName && !$wgUser->isAllowed('hideuser') ) {
- return array( 'hookaborted' );
+ return array( 'cant-see-hidden-user' );
}
$currentBlock->delete();
$block->insert();
Index: languages/messages/MessagesEn.php
===================================================================
--- languages/messages/MessagesEn.php (revision 57369)
+++ languages/messages/MessagesEn.php (working copy)
@@ -3001,6 +3001,8 @@
'sorbs_create_account_reason' => 'Your IP address is listed as an open proxy in the DNSBL used by {{SITENAME}}.
You cannot create an account',
'cant-block-while-blocked' => 'You cannot block other users while you are blocked.',
+'cant-see-hidden-user' => 'The user you are trying to block has already been blocked and hidden. Since you do not have the hideuser right,
+you cannot see or edit the user\'s block.',
# Developer tools
'lockdb' => 'Lock database',
Index: maintenance/language/messages.inc
===================================================================
--- maintenance/language/messages.inc (revision 57369)
+++ maintenance/language/messages.inc (working copy)
@@ -2024,6 +2024,7 @@
'sorbsreason',
'sorbs_create_account_reason',
'cant-block-while-blocked',
+ 'cant-see-hidden-user'
),
'developertools' => array(
'lockdb',
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5854
Default Alt Text
patch.patch (1 KB)
Attached To
Mode
T22524: Hideuser: Error when trying to block hidden user without hideuser right
Attached
Detach File
Event Timeline
Log In to Comment