aboutsummaryrefslogtreecommitdiff
path: root/ansible/templates/mw/LocalSettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/templates/mw/LocalSettings.php')
-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' );