Removing the Edit Tabs on Media Wiki

While editing the Media Wiki use for the 1st FOSS@conference, trying to figure out how to remove the edit tabs for guest user. heres a simple trick.

Edit> localsetting.php on the root folder of media wiki. And by putting this simple code

$wgGroupPermissions['*']['edit'] = false;

Then your done. Upload it again to the same location.
Sample code below:

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
$wgGroupPermissions['*']['edit'] = false;
$wgCacheEpoch = max( $wgCacheEpoch, $configdate );

Comments