Manual talk:$wgWhitelistRead

What does the parameter "-" mean?
Does somebody know what page the parameter "-" refers to? See code below:


 * $wgWhitelistRead = array( "Special:Userlogin", "-", "MediaWiki:Monobook.css" );

--Candidia 21:25, 9 February 2008 (UTC)

non ascii characters
Hi,

How do you manage to get somes pages in $wgWhitelistRead with non ascii characters, like é, à etc. When setting up a MW1.8.2, adding "Actualités" to $wgWhitelistRead does not work, as well as Actualit%C3%A9s or Actualites.

Thank you for your help Florent


 * "Actualités" should work (the others don't) - but you have to make sure you save the LocalSettings.php file as UTF-8, not in Latin-1 or whatever is the default on your system. Note that when saving as UTF-8, some editors may insert invisible characters, as so called BOM, at the start of the file - which will confuse PHP and lead to "headers already sent" warnings. -- Duesentrieb ⇌ 11:20, 21 February 2007 (UTC)

add help namespace
How can I add the whole help-namespace to the whitelist? I want anonymous users to be able to see the startpage, the loggin page and the articles in the help namespace.


 * This is not possible with $wgWhitelistRead - look into Category:Page Access Control Extensions; Note however that unless you do use $wgWhitelistRead, and keep it quite restrictive, read-restrictions can be bypassed relatively easily, at least before version 1.10 - mediawiki is not a CMS, it was designed to be open and accessible, not with privacy in mind. For example, being able to edit some page effectively means being able to read all pages. Also, Special:Recentchanges and Special:Export may expose data that is otherwise read-protected. -- Duesentrieb ⇌ 11:18, 21 February 2007 (UTC)
 * Be able to Add a whole *-namespace to the whitelist look great, really great. For the moment, we have to add one by one all page allow. I wrote something about that : on the Forum Yug 19:15, 11 March 2007 (UTC)

other language setting
If you have change the default language in wgLanguageCode = "XX"; from en to an other language you must take change the name of the site for userlogin.

In english special:UserLogin

In german spezial:UserLogin

I hope, it will help

$wgWhitelistRead isn't working
I copied some Localsettings code from this site, and for the longest time I couldn't get $wgWhitelistRead or $wgWhitelistEdit to work

$wgWhitelistRead[] = array( "Special:Connect", "Special:Userlogin", "Special:Userlogout" );

I just found the problem, however, and figured I would document it here in case this problem trips up anyone else. The line of code should read:

$wgWhitelistRead = array( "Special:Connect", "Special:Userlogin", "Special:Userlogout" );
 * 1) (no [])

Gbruin 21:37, 25 January 2009 (UTC)