MediaWiKi

How to secure your MediaWiKi web site: page access control.

No GoodNeed ImprovementOKGoodExcellent (2 votes, average: 3.5 out of 5)
Loading ... Loading ...

How to set up page security for your MediaWiki web site.

Many people love WiKi web sites, especially Wikipedia which allows everybody to register a username, and lets him/her to post an article and edit articles written by other people. However if you want to set up a partially “open-door” web site, you may want to implement user-access control.

Basic User Right Control: Add the following lines to LocalSettings.php:

#do not allow anonymous users create an account
$wgGroupPermissions['*']['createaccount'] = false;

#users do not need to log in to read
$wgGroupPermissions['*']['read'] = true;

# require that users log in to edit
$wgGroupPermissions['*']['edit'] = false;

# allow these pages for anonymous users
$wgWhitelistRead = array( “Main Page”, “Special:Userlogin”, “-”, “MediaWiki:Monobook.css” );

# remove the link to the talk page for non-logged in users
$wgShowIPinHeader = false;

# require that users log in to read
$wgGroupPermissions['*']['read'] = false;

If you want to set up different privileges for customers and content developers, you need to download and install PageSecurity extension from http://www.mediawiki.org/wiki/Extension:PageSecurity.

Ref: http://www.mediawiki.org/wiki/Manual:Preventing_access

Popularity: 5%

Comments (1)

Use your skin for MediaWiKi web site

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

Change this line in LocalSettings.php file to use your preferred skin

$wgDefaultSkin = ‘iv’;

Popularity: 1%

Comments

How to change logo and icon for your MediaWiki web site

No GoodNeed ImprovementOKGoodExcellent (1 votes, average: 4 out of 5)
Loading ... Loading ...

Upload your log to a directory, change mod to 755, then add your logo image path to LocalSettings.php file, for example:

$wgLogo = "/mediawiki/skins/common/images/Dna1.gif";

For Icon:

$wgFavicon = "/mediawiki/favicon.ico";

Popularity: 4%

Comments

« Previous Next »