Difference between revisions of "MediaWiki:LocalSettings.php"
m |
m |
||
Line 27: | Line 27: | ||
$wgMediaViewerUseThumbnailGuessing | $wgMediaViewerUseThumbnailGuessing | ||
− | //$wgCategoryTreeDefaultOptions['mode'] = 'pages';. | + | //Category tree |
+ | //$wgCategoryTreeDefaultOptions['mode'] = 'pages'; | ||
+ | $wgCategoryTreeDefaultOptions['namespaces'] = [ 0, NS_CATEGORY, NS_FILE ];. | ||
//Purge caching | //Purge caching |
Revision as of 13:54, 1 November 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
//Category tree //$wgCategoryTreeDefaultOptions['mode'] = 'pages'; $wgCategoryTreeDefaultOptions['namespaces'] = [ 0, NS_CATEGORY, NS_FILE ];.
//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' );