From 6fe44ad6366232314d45502d387ccbc671e84d9f Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 24 Nov 2018 22:28:42 +0100 Subject: o Mediawiki. --- ansible/templates/mw/LocalSettings.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ansible/templates/mw/LocalSettings.php') 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' ); -- cgit v1.2.3