aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/mw-backend/templates/etc/mediawiki/LocalSettings.php.j25
1 files changed, 3 insertions, 2 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 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