From f55f5b028c7d37534db032dd81bafe9388ff9c6e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 9 Aug 2018 08:27:47 +0200 Subject: o Adjusting mediawiki. --- .../roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 eb98896..4c3bd24 100644 --- a/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 +++ b/ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j2 @@ -29,7 +29,7 @@ $wgMetaNamespace = "Project"; $wgScriptPath = ""; ## The protocol and server name to use in fully-qualified URLs -$wgServer = "http://mw.trygvis.io"; +$wgServer = "https://mw.trygvis.io"; ## The URL path to static resources (images, scripts, etc.) $wgResourceBasePath = $wgScriptPath; @@ -128,6 +128,7 @@ wfLoadSkin( 'Vector' ); # to LocalSettings.php. Check specific extension documentation for more details. # The following extensions were automatically enabled: wfLoadExtension( 'Cite' ); +wfLoadExtension( 'ParserFunctions' ); require_once "/opt/mediawiki/semantic-media-wiki/vendor/autoload.php"; @@ -161,7 +162,7 @@ $wgUseCategoryBrowser = true; define("NS_CHIP", 3000); // This MUST be even. define("NS_CHIP_TALK", 3001); // This MUST be the following odd integer. -enableSemantics( 'trygvis.io' ); +enableSemantics( 'https://mw.trygvis.io/', true ); $smwgShowFactbox = SMW_FACTBOX_NONEMPTY; // Add "Chip" namespace -- cgit v1.2.3