aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mw-backend/templates/etc/mediawiki
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-09 08:27:47 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-09 08:27:47 +0200
commitf55f5b028c7d37534db032dd81bafe9388ff9c6e (patch)
treec0f9512652eaad9e2bd8c8d2a3efa732caa3c8eb /ansible/roles/mw-backend/templates/etc/mediawiki
parent4cb0fcdf46a42550978c0e3d1f021c41779d7e59 (diff)
downloadinfra-f55f5b028c7d37534db032dd81bafe9388ff9c6e.tar.gz
infra-f55f5b028c7d37534db032dd81bafe9388ff9c6e.tar.bz2
infra-f55f5b028c7d37534db032dd81bafe9388ff9c6e.tar.xz
infra-f55f5b028c7d37534db032dd81bafe9388ff9c6e.zip
o Adjusting mediawiki.
Diffstat (limited to 'ansible/roles/mw-backend/templates/etc/mediawiki')
-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