diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-24 22:28:42 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-24 22:28:42 +0100 |
commit | 6fe44ad6366232314d45502d387ccbc671e84d9f (patch) | |
tree | 216b04b2fa189d6b1af04740d327ee2a3827c5d9 /ansible/templates/mw | |
parent | f985755b32cc3f3558604264823de32de557b288 (diff) | |
download | infra-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.php | 15 |
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' ); |