-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Reizer Gábor wrote:
Hi,
I have set user rigths in the LocalSetting.php (Anonymous users cannot read
or edit any other page, but can still create accounts):
$wgGroupPermissions['*' ]['read'] = false;
$wgGroupPermissions['user' ]['read'] = true;
$wgWhitelistRead = array("Main Page", 'Special:Userlogin',);
Despite of this settings, not logged-in Users cannot read any pages of my
MW.
The installed language of my MW is hungarian. I tried to use the hungarian
names of the pages ( $wgWhitelistRead = array('Kezdőlap',
'Speciális:Userlogin') ), but it could not solve the problem.
Could the problem be the coding of the charachters? For example 'Kezdőlap'
(= Main page) seems like this in my browser: 'Kezd%C5%91lap'.
Make sure you're saving the file as UTF-8 encoding. (And make sure you
are *not* adding a BOM character, which Windows Notepad does when you
save as UTF-8. A hidden BOM character at the beginning of the file may
cause errors, thanks to PHP:
http://bugs.php.net/bug.php?id=22108 )
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFHE3eewRnhpk1wk44RAlxbAKChd15hEppCKELaoS/8ABJmev07JACeINJp
WYp+82hICToFoL/s8tpuCDU=
=LHC8
-----END PGP SIGNATURE-----