Last modified: 2013-12-11 08:36:05 UTC
The installer has an option which is supposed to do this: https://www.mediawiki.org/wiki/Manual:Restricting_access#Simple_private_wiki If you don't set $wgWhitelistRead, you'll just lock everyone out of the wiki. I may misremember but the installer didn't set it last time I tried; it may be because you can't use the canonical name of a special page but you have to specify it in content language, but a solution should be found.
(Sorry if I have misunderstood) Those special pages dont need to be added to the Whitelist. https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105428 https://git.wikimedia.org/blob/mediawiki%2Fcore.git/07916ac0050cb6d631ed45c11a0cec52c458ea4f/includes%2FTitle.php#L2215 fwiw, I tested the 1.22 installer with this option enabled, and it added the wgGroupPermissions and not the wgWhitelistRead, and it worked correctly.
(In reply to comment #1) > Those special pages dont need to be added to the Whitelist. > > https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105428 Can you please update the docs then? > > https://git.wikimedia.org/blob/mediawiki%2Fcore.git/ > 07916ac0050cb6d631ed45c11a0cec52c458ea4f/includes%2FTitle.php#L2215 > > fwiw, I tested the 1.22 installer with this option enabled, and it added the > wgGroupPermissions and not the wgWhitelistRead, and it worked correctly. I had used 1.22alpha IIRC.