diff options
Diffstat (limited to 'ansible/roles/mw-backend/templates')
-rw-r--r-- | ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 b/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 index 10e3796..f1984d8 100644 --- a/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 +++ b/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 @@ -62,7 +62,7 @@ $wgDBport = "5432"; $wgDBmwschema = "public"; ## Shared memory settings -$wgMainCacheType = CACHE_ACCEL; +$wgMainCacheType = CACHE_ANYTHING; $wgMemCachedServers = []; ## To enable image uploads, make sure the 'images' directory @@ -130,6 +130,9 @@ wfLoadSkin( 'Vector' ); wfLoadExtension( 'Cite' ); +require_once "/opt/mediawiki/semantic-media-wiki/vendor/autoload.php"; + + # End of automatically generated settings. # Add more configuration options below. @@ -152,3 +155,7 @@ $wgFooterIcons['poweredby']['debian'] = [ # End Debian specific generated settings # Add more configuration options below. +# https://www.mediawiki.org/wiki/Manual:$wgSMTP +$wgSMTP = array('host' => '10.0.3.1', 'auth' => false); + +enableSemantics( 'trygvis.io' ); |