MediaWiki:LocalSettings.php


 * 1) CUSTOMIZATION
 * 2) 1. Disable anonymous editing
 * 3) Entirely disable Anonymous Edits in Wiki versions 1.4 and before
 * 4) $wgWhitelistEdit = false;
 * 5) This snippet prevents editing from anonymous users
 * 6) $wgGroupPermissions['*']['edit'] = false;
 * 1) 1. Disable anonymous editing
 * 2) Entirely disable Anonymous Edits in Wiki versions 1.4 and before
 * 3) $wgWhitelistEdit = false;
 * 4) This snippet prevents editing from anonymous users
 * 5) $wgGroupPermissions['*']['edit'] = false;
 * 1) This snippet prevents editing from anonymous users
 * 2) $wgGroupPermissions['*']['edit'] = false;

$wgGroupPermissions['*']['createaccount'] = false;
 * 1) 2. Disable free account creation
 * 1) 2. Disable free account creation


 * 1) 3. Disable reading
 * 2) $wgGroupPermissions['*']['read'] = false;
 * 3) $wgWhitelistRead = array("Special:Userlogin", "MediaWiki:Monobook.css" );
 * 1) $wgGroupPermissions['*']['read'] = false;
 * 2) $wgWhitelistRead = array("Special:Userlogin", "MediaWiki:Monobook.css" );

$wgLogo = 'http://82.199.205.38/wiki/images/b/bc/Wiki.png';
 * 1) 4. Set up Ifigenia logo
 * 1) 4. Set up Ifigenia logo

$wgEnableUploads = true;
 * 1) 5. Upload file
 * 2) Enable uploads
 * 1) Enable uploads
 * 1) Enable uploads

$wgFileExtensions = array('png', 'gif', 'svg', 'jpg', 'jpeg', 'doc', 'odt', 'xls', 'pdf', 'tex', 'dvi', 'ogg', 'ppt', 'pps', 'odp');
 * 1) File extensions

$wgGroupPermissions['user']['upload'] = true; $wgGroupPermissions['user']['reupload'] = true;
 * 1) Upload and reupload permissions - to all registered users

define("NS_ISSUE", 100); define("NS_ISSUE_TALK", 101); define("NS_DRAFT", 102); define("NS_DRAFT_TALK", 103); $wgExtraNamespaces[NS_ISSUE] = "Issue"; $wgExtraNamespaces[NS_ISSUE_TALK] = "Issue_talk"; $wgExtraNamespaces[NS_DRAFT] = "Draft"; $wgExtraNamespaces[NS_DRAFT_TALK] = "Draft_talk";
 * 1) 6. New namespaces
 * 1) 6. New namespaces

$wgNamespacesWithSubpages[NS_MAIN] = true; $wgNamespacesWithSubpages[NS_PROJECT] = true; $wgNamespacesWithSubpages[NS_MEDIAWIKI] = true; $wgNamespacesWithSubpages[NS_TEMPLATE] = true; $wgNamespacesWithSubpages[NS_HELP] = true; $wgNamespacesWithSubpages[NS_ISSUE] = true; $wgNamespacesWithSubpages[NS_ISSUE_TALK] = true; $wgNamespacesWithSubpages[NS_DRAFT] = true; $wgNamespacesWithSubpages[NS_DRAFT_TALK] = true;
 * 1) 6. Subpages enabled per namespace
 * 1) 6. Subpages enabled per namespace

$wgNamespacesToBeSearchedDefault = array(       NS_MAIN =>           true,        NS_TALK =>           false,        NS_USER =>           true,        NS_USER_TALK =>      false,        NS_PROJECT =>        false,        NS_PROJECT_TALK =>   false,        NS_IMAGE =>          true,        NS_IMAGE_TALK =>     false,        NS_MEDIAWIKI =>      false,        NS_MEDIAWIKI_TALK => false,        NS_TEMPLATE =>       false,        NS_TEMPLATE_TALK =>  false,        NS_HELP =>           true,        NS_HELP_TALK =>      false,        NS_CATEGORY =>       true,        NS_CATEGORY_TALK =>  false,        NS_ISSUE =>          true,        NS_ISSUE_TALK =>     false,        NS_DRAFT =>          false,        NS_DRAFT_TALK =>     false, );
 * 1) 7. Search namespace options
 * 2) Set default searching - all namespaces
 * 1) Set default searching - all namespaces
 * 1) Set default searching - all namespaces

$wgPageShowWatchingUsers = true;
 * 1) 8. Show watching users in Page views
 * 1) 8. Show watching users in Page views

$wgUseTeX = true; $wgTexvc = './math/texvc';
 * 1) 9. TeX support
 * 1) 9. TeX support

$wgAllowCategorizedRecentChanges = true;
 * 1) 10. Enable filtering of categories in Recentchanges
 * 1) 10. Enable filtering of categories in Recentchanges

$wgAllowImageMoving = true;
 * 1) 11. Allow moving images
 * 1) 11. Allow moving images


 * 1) EXTENSIONS
 * 1) EXTENSIONS
 * 1) EXTENSIONS

require_once("$IP/extensions/Newuserlog/Newuserlog.php");
 * 1) Extension:NewUserLog

require_once("$IP/extensions/LinkSearch/LinkSearch.php");
 * 1) Extension:LinkSearch

require_once("$IP/extensions/ParserFunctions/ParserFunctions.php");
 * 1) Extension:ParserFunctions

$wgUseAjax = true; require_once( 'extensions/CategoryTree/CategoryTree.php' );
 * 1) Extension:CategoryTree

include("$IP/extensions/CurrentUsers/CurrentUsers.php");
 * 1) Extension:CurrentUsers

require_once( "$IP/extensions/MathStatFunctions/MathStatFunctions.php" );
 * 1) Extension:MathStatFunctions

require_once("$IP/extensions/managecategories/managecategories.php");
 * 1) Extension:ManageCategories

require_once( "$IP/extensions/Lockdown/Lockdown.php"); $wgNamespacePermissionLockdown[NS_DRAFT]['edit'] = array('autoconfirmed'); $wgNamespacePermissionLockdown[NS_DRAFT_TALK]['edit'] = array('autoconfirmed'); $wgNamespacePermissionLockdown[NS_DRAFT]['read'] = array('autoconfirmed'); $wgNamespacePermissionLockdown[NS_DRAFT_TALK]['read'] = array('autoconfirmed'); $wgNamespacePermissionLockdown[NS_ISSUE]['*'] = array('sysop'); $wgNamespacePermissionLockdown[NS_ISSUE]['read'] = array('*'); $wgNonincludableNamespaces[] = 102; $wgNonincludableNamespaces[] = 103;
 * 1) Extension:Lockdown