Saturday, October 27, 2007

Tips to disable users from editing mediawiki pages

In Mediawiki installation root, locate a file called "LocalSettings.php":

Set wgReadonly to true, either way works, no matter O is upper or lower case:

$wgReadonly = true;
$wgReadOnly = true;


To enable users to edit pages in Mediawiki, do:

$wgReadOnly = false;




http://InternetMarketingDIY.blogspot.com
&copyright 2007 Please do not copy/reprint this article without author's written permission.

No comments: