aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mw-backend/templates
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-14 12:47:59 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-14 12:47:59 +0200
commit08871b8c43e14097a5b9572f4125e6a47b60c06a (patch)
treef94bdcdb96a2ebc8ecde01570352c979b9295246 /ansible/roles/mw-backend/templates
parent919fb012058e375e7a570aea3be8efe102d22e74 (diff)
downloadinfra-08871b8c43e14097a5b9572f4125e6a47b60c06a.tar.gz
infra-08871b8c43e14097a5b9572f4125e6a47b60c06a.tar.bz2
infra-08871b8c43e14097a5b9572f4125e6a47b60c06a.tar.xz
infra-08871b8c43e14097a5b9572f4125e6a47b60c06a.zip
o SMW has to be loaded the old way.
Diffstat (limited to 'ansible/roles/mw-backend/templates')
-rw-r--r--ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j24
1 files changed, 3 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 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.