* (bug 20885) Search box no longer suggests unavailable special pages
* (bug 20948) "Create this page" on Special:Search is no longer displayed when
searching for special pages
+* (bug 20524) Hideuser: Show nice error when trying to block hidden user without
+ hideuser right
== API changes in 1.16 ==
# 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();
'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',
'sorbsreason',
'sorbs_create_account_reason',
'cant-block-while-blocked',
+ 'cant-see-hidden-user'
),
'developertools' => array(
'lockdb',