aboutsummaryrefslogtreecommitdiff
path: root/ansible/templates/mw
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-11-24 22:28:42 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-11-24 22:28:42 +0100
commit6fe44ad6366232314d45502d387ccbc671e84d9f (patch)
tree216b04b2fa189d6b1af04740d327ee2a3827c5d9 /ansible/templates/mw
parentf985755b32cc3f3558604264823de32de557b288 (diff)
downloadinfra-6fe44ad6366232314d45502d387ccbc671e84d9f.tar.gz
infra-6fe44ad6366232314d45502d387ccbc671e84d9f.tar.bz2
infra-6fe44ad6366232314d45502d387ccbc671e84d9f.tar.xz
infra-6fe44ad6366232314d45502d387ccbc671e84d9f.zip
o Mediawiki.
Diffstat (limited to 'ansible/templates/mw')
-rw-r--r--ansible/templates/mw/LocalSettings.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/ansible/templates/mw/LocalSettings.php b/ansible/templates/mw/LocalSettings.php
index 91ded62..bb113cc 100644
--- a/ansible/templates/mw/LocalSettings.php
+++ b/ansible/templates/mw/LocalSettings.php
@@ -116,6 +116,21 @@ $wgDefaultSkin = "vector";
wfLoadExtension( 'Scribunto' );
$wgScribuntoDefaultEngine = 'luastandalone';
+wfLoadExtension("SemanticScribunto");
+wfLoadExtension('WikiEditor');
+wfLoadExtension( 'CodeEditor' );
+# Enables link and table wizards by default but still allows users to
+# disable them in preferences
+$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
+
+# Displays the Preview and Changes tabs
+$wgDefaultUserOptions['wikieditor-preview'] = 1;
+
+# Displays the Publish and Cancel buttons on the top right side
+$wgDefaultUserOptions['wikieditor-publish'] = 1;
+
+$wgScribuntoUseCodeEditor = true;
+
wfLoadSkin( 'MonoBook' );
wfLoadSkin( 'Timeless' );
wfLoadSkin( 'Vector' );