RJ Ian Sevilla From Projects, Travel, Tips, Tricks, Tech or everything happen in my life..

15Jun/07Off

Removing the Edit Tabs on Media Wiki

While editing the Media Wiki use for the test, 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 );

Filed under: CMS, FOSS, Media Wiki Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.