diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-02-25 10:16:37 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-02-25 10:16:37 +0100 |
commit | ab1d1e236a410e07a8a6109a6f4f26d27e413903 (patch) | |
tree | c0e099a3277bbfb9b9266a8375e2c158134d440e /ansible/roles/mw-backend/templates | |
parent | ff8685267b46e18828967790f772f30e19275e7e (diff) | |
download | infra-ab1d1e236a410e07a8a6109a6f4f26d27e413903.tar.gz infra-ab1d1e236a410e07a8a6109a6f4f26d27e413903.tar.bz2 infra-ab1d1e236a410e07a8a6109a6f4f26d27e413903.tar.xz infra-ab1d1e236a410e07a8a6109a6f4f26d27e413903.zip |
wip
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' ); |