Difference between revisions of "MediaWiki:LocalSettings.php"

From LinnDocs
Jump to: navigation, search
m
m
Line 40: Line 40:
  
 
$wgEnableUploads = true;
 
$wgEnableUploads = true;
 +
 
$wgUseImageMagick = true;
 
$wgUseImageMagick = true;
 +
 
$wgImageMagickConvertCommand = "/usr/bin/convert";
 
$wgImageMagickConvertCommand = "/usr/bin/convert";
  
 
wfLoadExtension( 'ImageMap' );
 
wfLoadExtension( 'ImageMap' );

Revision as of 11:51, 6 May 2022

//Can only be edited in file system ntot webpage// $wgRestrictDisplayTitle = true;

$wgAllowUserJs=true;

$wgSitename = "LinnDocs";

$wgNamespacesWithSubpages[NS_MAIN] = true;

wfLoadExtension( 'ParserFunctions' );

wfLoadExtension( 'CSS' );

$wgPFEnableStringFunctions = true;

$wgUseCategoryBrowser = true;

wfLoadExtension( 'CategoryTree' );

wfLoadExtension( 'Tabs' );

wfLoadExtension( 'DisplayTitle' );

$wgMediaViewerIsInBeta $wgMediaViewerEnableByDefault $wgMediaViewerEnableByDefaultForAnonymous $wgMediaViewerUseThumbnailGuessing

//$wgCategoryTreeDefaultOptions['mode'] = 'pages';.

//Purge caching $wgEnableParserCache = false; // deprecated method $wgParserCacheType = CACHE_NONE; $wgCachePages = false;


wfLoadExtension( 'CodeEditor' ); $wgDefaultUserOptions['usebetatoolbar'] = 1; // user option provided by WikiEditor extension


$wgEnableUploads = true;

$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

wfLoadExtension( 'ImageMap' );