Can I password protect only some mediawiki pages
|
|
Hi, I have recently installed the bitnami mediawiki stack on a solaris 10 machine. It is up and running lovely but I need to put some content on there that needs locking down, meaning people have to log in to view. I am happy for all to see the main site but when they navigate to the “supported systems” page for example then I want them to have to log in What is the best way of achieving this please?? Thanks |
|
|
Hi, Honestly, I have no idea. Maybe another user can teach us both how. Cheers |
|
|
Hi, I found it! I added the following to my LocalSettings.php and it worked a dream…..
Hope it helps someone else! |
|
|
that bit didnt quite come out right…..just add these lines $wgGroupPermissions’*’ = false; $wgWhitelistRead = array ( “Main Page”, “Special:Userlogin”, “Help:Contents); |
|
|
Thanks for posting this information. It will be very helpful for a lot of mediawiki users. |
|
|
hey mate I tried those lines, but after I entered them I just get a blank document. After I remove them my page loads as normal. I’m really new to this so I don’t really have anything constructive to add, except that it didn’t work for me. Anyone know why? |
