From dd49efbcad47f7d9e801bb12758183220dae9c86 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 23 Sep 2018 11:36:13 +0200 Subject: o Replacing all custom semantic mediawiki configuration with a generic composer setup. Should be possible to maintain all of the mediawiki code with composer now. o Adding scribunto and semantic-scribunto as extensions. o Moving borg and backup directory under /opt/mediawiki --- .../roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ansible/roles/mw-backend/templates/etc/mediawiki') 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 9def832..450dfab 100644 --- a/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 +++ b/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 @@ -119,6 +119,10 @@ $wgDefaultSkin = "vector"; # Enabled skins. # The following skins were automatically enabled: + +wfLoadExtension( 'Scribunto' ); +$wgScribuntoDefaultEngine = 'luastandalone'; + wfLoadSkin( 'CologneBlue' ); wfLoadSkin( 'Modern' ); wfLoadSkin( 'MonoBook' ); @@ -133,7 +137,7 @@ wfLoadExtension( 'Cite' ); wfLoadExtension( 'ParserFunctions' ); # Doesnt work yet: wfLoadExtension( 'SemanticMediaWiki' ); -require_once "/opt/mediawiki/semantic-media-wiki/vendor/autoload.php"; +require_once "/opt/mediawiki/extensions/vendor/autoload.php"; # End of automatically generated settings. # Add more configuration options below. -- cgit v1.2.3