Add extensions
This commit is contained in:
parent
7ef77117a4
commit
7547bc11df
BIN
build/mediawiki_extensions/DynamicSidebar.tar.gz
Normal file
BIN
build/mediawiki_extensions/DynamicSidebar.tar.gz
Normal file
Binary file not shown.
BIN
build/mediawiki_extensions/UserFunctions.tar.gz
Normal file
BIN
build/mediawiki_extensions/UserFunctions.tar.gz
Normal file
Binary file not shown.
@ -177,6 +177,8 @@ $extensions = [
|
||||
// "Disambiguator",
|
||||
"OATHAuth",
|
||||
// "EmbedVideo",
|
||||
"UserFunctions",
|
||||
"DynamicSidebar",
|
||||
];
|
||||
foreach($extensions as $extension){
|
||||
$json_file = "$wgExtensionDirectory/$extension/extension.json";
|
||||
@ -230,6 +232,33 @@ $wgEnableSidebarCache = true;
|
||||
|
||||
$wgCapitalLinks = true; // @todo http://192.168.0.60/wiki/Special:WantedPages
|
||||
|
||||
// Defautl user settings
|
||||
$wgDefaultUserOptions['watchdefault'] = false;
|
||||
|
||||
// Sidebar
|
||||
$wgEnableSidebarCache = false;
|
||||
|
||||
// Dynamic sidebar
|
||||
$wgDynamicSidebarUseUserpages = true;
|
||||
$wgDynamicSidebarUseGroups = true;
|
||||
$wgDynamicSidebarUseCategories = true;
|
||||
|
||||
// User parser functions
|
||||
$wgUFEnabledPersonalDataFunctions = [
|
||||
'ip',
|
||||
'nickname',
|
||||
'realname',
|
||||
'useremail',
|
||||
'username',
|
||||
];
|
||||
$wgUFAllowedNamespaces = [
|
||||
NS_MEDIAWIKI => true,
|
||||
NS_MAIN => true,
|
||||
NS_USER => true,
|
||||
];
|
||||
|
||||
$wgPFEnableStringFunctions = true;
|
||||
|
||||
// $wgObjectCaches['redis'] = [
|
||||
// 'class' => 'RedisBagOStuff',
|
||||
// 'servers' => [ '127.0.0.1:6379' ],
|
||||
@ -266,6 +295,3 @@ $wgCapitalLinks = true; // @todo http://192.168.0.60/wiki/Special:WantedPages
|
||||
//$wgWhitelistRead = [
|
||||
// "Main Page", "MediaWiki:Common.css", "MediaWiki:Common.js"
|
||||
//];
|
||||
|
||||
// Defautl user settings
|
||||
$wgDefaultUserOptions['watchdefault'] = false;
|
||||
|
Reference in New Issue
Block a user