Last modified: 2013-12-11 08:36:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59080, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57080 - Option for simple private wiki should also set $wgWhitelistRead correctly
Option for simple private wiki should also set $wgWhitelistRead correctly
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
All All
: Normal enhancement (vote)
: 1.22.0 release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-14 22:17 UTC by Nemo
Modified: 2013-12-11 08:36 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2013-11-14 22:17:16 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.
Comment 1 John Mark Vandenberg 2013-12-11 08:26:09 UTC
(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.
Comment 2 Nemo 2013-12-11 08:36:05 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links