How to enable the user right in your media wiki. This function will allowed the registered user only that can view the contents inside your wiki.And only admin can edit or changes the contents.
#[~/public_html/wiki]# ls -al LocalSettings.php-rw-r—– 1 server1 server1 4984 Dec 18 22:25 LocalSettings.php# [~/public_html/wiki]# pwd/home/server1/public_html/wiki# [~/public_html/wiki]# vi LocalSettings.php
Just add this in your LocalSettings.php
$wgEnableEmail = true;$wgEnableUserEmail = true; # UPO$wgGroupPermissions[‘*’][‘edit’] = false;$wgGroupPermissions[‘*’][‘read’] = false;$wgGroupPermissions[‘*’][‘createaccount’] = false;$wgGroupPermissions[‘user’][‘edit’] = false;$wgGroupPermissions[‘sysop’][‘edit’] = true;