Hello,
I have the following configuration in my LocalSetting.php file :
## User Rights ## '*' is anonymous $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['edit'] = false; $wgShowIPinHeader = false; # For non-logged in users
## Pages allowed to be read by all users (including anonymous) $wgWhitelistRead = array( "Accueil", "-", "MediaWiki:Monobook.css", "Special:Userlogin" );
which worked fine.
I tried to add a new page to this list :
$wgWhitelistRead = array( "Accueil", "MyNewPage", "-", "MediaWiki: Monobook.css", "Special:Userlogin" );
but anonymous users have no access to this new page.
I don't understand what's happening. Can someone give me some help ?
I forgot a small detail. My page name contains an underscore : My_NewPage
Could this cause the problem ?
Thanks for help
On 7/25/06, Françoise CONIL fcodvpt@gmail.com wrote:
Hello,
I have the following configuration in my LocalSetting.php file :
## User Rights ## '*' is anonymous $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['edit'] = false; $wgShowIPinHeader = false; # For non-logged in users
## Pages allowed to be read by all users (including anonymous) $wgWhitelistRead = array( "Accueil", "-", "MediaWiki: Monobook.css", "Special:Userlogin" );
which worked fine.
I tried to add a new page to this list :
$wgWhitelistRead = array( "Accueil", "MyNewPage", "-", "MediaWiki: Monobook.css", "Special:Userlogin" );
but anonymous users have no access to this new page.
I don't understand what's happening. Can someone give me some help ?
Françoise CONIL wrote:
I forgot a small detail. My page name contains an underscore : My_NewPage
Could this cause the problem ?
I tried to add a new page to this list :
$wgWhitelistRead = array( "Accueil", "MyNewPage", "-", "MediaWiki: Monobook.css", "Special:Userlogin" );
but anonymous users have no access to this new page.
Well, I assume you have "My_NewPage" in the array. Instead, try to add "My NewPage" with a space instead of an underscore and see how that turns out.
Hínandil
Hello, well your assumption was good, I had "My_NewPage" in the array. Your advice was good too, putting "My NewPage with a blank instead of an underscore solved the problem.
Thanks a lot
On 7/25/06, Hínandil hinandil@freespirits.org wrote:
Françoise CONIL wrote:
I forgot a small detail. My page name contains an underscore : My_NewPage
Could this cause the problem ?
I tried to add a new page to this list :
$wgWhitelistRead = array( "Accueil", "MyNewPage", "-", "MediaWiki: Monobook.css", "Special:Userlogin" );
but anonymous users have no access to this new page.
Well, I assume you have "My_NewPage" in the array. Instead, try to add "My NewPage" with a space instead of an underscore and see how that turns out.
Hínandil _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org