Add these lines to the LocalSettings.php file:
$wgEmailAuthentication = true;
$wgEmailConfirmToEdit = true;
Add these lines to the LocalSettings.php file:
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = true;
$wgShowIPinHeader = false; # For non-logged in users
Line 3 removes the link to the talk page (aka discussion page) in the header for non-logged in users.
Add these lines to the LocalSettings.php file:
$wgWhitelistRead = array( “Main Page”, “Special:Userlogin”, “-”, “MediaWiki:Monobook.css” );
$wgGroupPermissions['*' ]['read'] = false;
Modify the contest of the array as necessary to grant access to the pages that you want to be visible.
This example only allows anonymous users to view the login page:
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgWhitelistRead = array (“Special:Userlogin”);
http://www.mediawiki.org/wiki/Help:%24wgWhitelistRead“>Mediawiki docs
Add this line to the LocalSettings.php file:
$wgGroupPermissions['*']['createaccount'] = false;
http://meta.wikimedia.org/wiki/Help:User_rights“>Mediawiki user rights docs
Either make the user a member of a group with the createaccount privilege (may be done by a http://meta.wikimedia.org/wiki/Bureaucrat“>Bureaucrat, or give that privilege to the user’s group (may be done by an administrator)
http://meta.wikimedia.org/wiki/Help:User_rights“>Mediawiki user rights docs
Edit this line in the LocalSettings.php file:
$wgLogo = “$wgStylePath/common/images/umd.gif”;
The file may be .png, .gif, or .jpg.
The path above defaults to < wikihome > /skins/common/images/umd.gif.
http://www.mediawiki.org/wiki/Help:%24wgLogo“>Mediawiki logo Doc
Set this in the LocalSettings.php file:
$wgEnableUploads = true;
Also make sure that the wiki uploads directory (WIKIHOME/images) is writeable by the web server process. To enable file types other than images, add this line:
$wgFileExtensions = array( ‘jar’, ‘java’, ‘zip’, ‘gzip’, ‘gz’, ‘doc’, ‘pdf’ );
Note: This line replaces the list of accepted file extensions. Be sure to include the preexisting image file types if you want them as well.
Add these lines to the LocalSettings.php file:
$wgEmailAuthentication = true;
$wgEmailConfirmToEdit = true;
Add these lines to the LocalSettings.php file:
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = true;
$wgShowIPinHeader = false; # For non-logged in users
Line 3 removes the link to the talk page (aka discussion page) in the header for non-logged in users.
Add these lines to the LocalSettings.php file:
$wgWhitelistRead = array( “Main Page”, “Special:Userlogin”, “-”, “MediaWiki:Monobook.css” );
$wgGroupPermissions['*' ]['read'] = false;
Modify the contest of the array as necessary to grant access to the pages that you want to be visible.
This example only allows anonymous users to view the login page:
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgWhitelistRead = array (“Special:Userlogin”);
http://www.mediawiki.org/wiki/Help:%24wgWhitelistRead“>Mediawiki docs
Add this line to the LocalSettings.php file:
$wgGroupPermissions['*']['createaccount'] = false;
http://meta.wikimedia.org/wiki/Help:User_rights“>Mediawiki user rights docs
Either make the user a member of a group with the createaccount privilege (may be done by a http://meta.wikimedia.org/wiki/Bureaucrat“>Bureaucrat, or give that privilege to the user’s group (may be done by an administrator)
http://meta.wikimedia.org/wiki/Help:User_rights“>Mediawiki user rights docs
Edit this line in the LocalSettings.php file:
$wgLogo = “$wgStylePath/common/images/umd.gif”;
The file may be .png, .gif, or .jpg.
The path above defaults to < wikihome > /skins/common/images/umd.gif.
http://www.mediawiki.org/wiki/Help:%24wgLogo“>Mediawiki logo Doc
Set this in the LocalSettings.php file:
$wgEnableUploads = true;
Also make sure that the wiki uploads directory (WIKIHOME/images) is writeable by the web server process. To enable file types other than images, add this line:
$wgFileExtensions = array( ‘jar’, ‘java’, ‘zip’, ‘gzip’, ‘gz’, ‘doc’, ‘pdf’ );
Note: This line replaces the list of accepted file extensions. Be sure to include the preexisting image file types if you want them as well.
Yorum yazın