Changes

Local Settings

2,688 bytes added, 19:03, 2 May 2017
Some of the settings that I've changed to make the wiki work:<br>
==Embedding images from other sites==
===Mediawiki Commons===
# InstantCommons allows wiki to use images from http://commons.wikimedia.org
$wgUseInstantCommons = false;
===Any Sites===
## Allows Wiki to link dynamically to wikimedia commons
## works but turned off as not needed
#$wgAllowExternalImagesFrom = array('http://commons.wikimedia.org/wiki/')
$wgAllowExternalImages = True;
##$wgRawHTML = True;
 
==Speeding up MediaWiki==
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";
<br>
#Keep parsed pages in a cache (objectcache table, turck, or memcached) to speed up output of the same page viewed by another user with the same options.
###$wgEnableParserCache = True;
#Allow client-side caching of pages
###$wgCachePages = True;
#This will cache static pages for non-logged-in users to reduce database traffic on public sites
###$wgUseFileCache = true; /* default: false */
###$wgFileCacheDirectory = "$IP/cache";
###$wgShowIPinHeader = false;
#cache the sidebar navigation links.
###$wgEnableSidebarCache=true;
#Make the hit counter more efficient
###$wgHitcounterUpdateFreq = 50;
 
==Short Paths==
Needed to make
## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
#$wgScriptPath = "/wiki";
#$wgScriptExtension = ".php";
$wgArticlePath = "{$wgScriptPath}/wiki/$1";
$wgUsePathInfo = true;
 
==Enable site customisations==
$wgUseSiteCss = True;
$wgUseSiteJs = True;
 
==Customise the Wiki's look and behaviour==
===Maximum indent level of the table of contents===
$wgMaxTocLevel = 3;
===Left Menu behaviour===
MediaWiki:Sidebar
$wgVectorFeatures['collapsiblenav']['global'] = false;
===Default Search===
#Set default searching
$wgNamespacesToBeSearchedDefault = array(
NS_MAIN => true,
NS_TALK => false,
NS_USER => false,
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 => false,
NS_HELP_TALK => false,
NS_CATEGORY => true,
NS_CATEGORY_TALK => false
);
[[Category:Wiki]]