For privacy purposes I would like to hide Special:Ipblocklist from those who do not have 'block' permissions. (Seeing who's banned is okay but I can't have autoblocked IP address collisions displayed to users.)
I just installed the Special:Renameuser extension and saw that it is listed under Rights-restricted pages. I inspected that and Special:Blockip to see where they were declaring their rights and found nothing; absolutely nothing. I did find the check where they print an error message and stop if you do not have the necessary rights, but nothing to suggest that either one was adding itself to the variable that apparently classifies pages requiring rights.
I'm not a programmer, so I don't understand Special:Specialpages. I'm sure it's a simple fix, and any help would be appreciated.
Hínandil
Hínandil wrote:
For privacy purposes I would like to hide Special:Ipblocklist from those who do not have 'block' permissions. (Seeing who's banned is okay but I can't have autoblocked IP address collisions displayed to users.)
Such blocks show a block id number instead of the IP.
I just installed the Special:Renameuser extension and saw that it is listed under Rights-restricted pages. I inspected that and Special:Blockip to see where they were declaring their rights and found nothing; absolutely nothing. I did find the check where they print an error message and stop if you do not have the necessary rights, but nothing to suggest that either one was adding itself to the variable that apparently classifies pages requiring rights.
I'm not a programmer, so I don't understand Special:Specialpages. I'm sure it's a simple fix, and any help would be appreciated.
Second parameter to the SpecialPage constructor is a permission key. (See SpecialPage.php.)
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
Hínandil wrote:
For privacy purposes I would like to hide Special:Ipblocklist from those who do not have 'block' permissions. (Seeing who's banned is okay but I can't have autoblocked IP address collisions displayed to users.)
Such blocks show a block id number instead of the IP.
True, but we cannot allow different user accounts (even annoying ones) to be linked to one another in public, and that is the problem. So if only one account is blocked and another account becomes autoblocked, that's a link. I'm thinking we also have to disable the block log as well for complete security.
Second parameter to the SpecialPage constructor is a permission key. (See SpecialPage.php.)
Ah, there it is. As simple as I imagined. Is it possible to add a line to LocalSettings.php and modify just that part of the array to include a second parameter or must we patch SpecialPages.php for every release?
Hínandil
mediawiki-l@lists.wikimedia.org