From 08871b8c43e14097a5b9572f4125e6a47b60c06a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 14 Aug 2018 12:47:59 +0200 Subject: o SMW has to be loaded the old way. --- ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ansible/roles') 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 7526d05..d494693 100644 --- a/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 +++ b/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 @@ -130,7 +130,9 @@ wfLoadSkin( 'Vector' ); # The following extensions were automatically enabled: wfLoadExtension( 'Cite' ); wfLoadExtension( 'ParserFunctions' ); -wfLoadExtension( 'SemanticMediaWiki' ); + +# Doesnt work yet: wfLoadExtension( 'SemanticMediaWiki' ); +require_once "/opt/mediawiki/semantic-media-wiki/vendor/autoload.php"; # End of automatically generated settings. # Add more configuration options below. -- cgit v1.2.3