You've already forked docker-mediawiki
Install plugins
This commit is contained in:
@ -163,22 +163,26 @@ $extensions = [
|
||||
// "CharInsert",
|
||||
// "TemplateStyles",
|
||||
"TimedMediaHandler",
|
||||
// "AdvancedSearch",
|
||||
// "RevisionSlider",
|
||||
// "Scribunto",
|
||||
// "Mpdf",
|
||||
"Scribunto",
|
||||
// "ExpandableContent",
|
||||
"MonacoEditor",
|
||||
// "Spoilers",
|
||||
// "AutoCreateCategoryPages",
|
||||
// "CiteThisPage",
|
||||
// "TextExtracts",
|
||||
// "TitleBlacklist",
|
||||
// "Disambiguator",
|
||||
"OATHAuth",
|
||||
// "EmbedVideo",
|
||||
"UserFunctions",
|
||||
"DynamicSidebar",
|
||||
"DynamicSidebar",
|
||||
"Mpdf",
|
||||
"Elastica",
|
||||
"CirrusSearch",
|
||||
"AdvancedSearch",
|
||||
"PageImages",
|
||||
"TextExtracts",
|
||||
"Popups",
|
||||
];
|
||||
foreach($extensions as $extension){
|
||||
$json_file = "$wgExtensionDirectory/$extension/extension.json";
|
||||
@ -190,11 +194,13 @@ foreach($extensions as $extension){
|
||||
}
|
||||
// END: load extensions
|
||||
|
||||
// $wgScribuntoDefaultEngine = 'luastandalone';
|
||||
$wgScribuntoDefaultEngine = 'luastandalone';
|
||||
// $wgMaxShellMemory = 204800; # in KB
|
||||
// $wgScribuntoEngineConf['luastandalone']['memoryLimit'] = 209715200; # bytes
|
||||
// $wgScribuntoEngineConf['luastandalone']['errorFile'] = "$IP/err.log";
|
||||
// $wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua5.1';
|
||||
$wgScribuntoUseGeSHi = true;
|
||||
$wgScribuntoUseCodeEditor = true;
|
||||
|
||||
// Hide user toolbar settings
|
||||
$wgHiddenPrefs[] = 'usebetatoolbar';
|
||||
@ -259,6 +265,9 @@ $wgUFAllowedNamespaces = [
|
||||
|
||||
$wgPFEnableStringFunctions = true;
|
||||
|
||||
//$wgMpdfTab = true;
|
||||
$wgMpdfToolboxLink = true;
|
||||
|
||||
// $wgObjectCaches['redis'] = [
|
||||
// 'class' => 'RedisBagOStuff',
|
||||
// 'servers' => [ '127.0.0.1:6379' ],
|
||||
@ -294,4 +303,4 @@ $wgPFEnableStringFunctions = true;
|
||||
|
||||
//$wgWhitelistRead = [
|
||||
// "Main Page", "MediaWiki:Common.css", "MediaWiki:Common.js"
|
||||
//];
|
||||
//];
|
Reference in New Issue
Block a user