enable WikiEditor. ticket 6521

This commit is contained in:
Kevin Fenzi 2017-11-23 05:56:05 +00:00
parent 547e12ddf8
commit 8e916e6388

View file

@ -502,6 +502,16 @@ $wgStyleVersion = '273';
# Fedora Badges Extension
require_once( "$IP/extensions/FedoraBadges/FedoraBadges.php" );
wfLoadExtension( 'WikiEditor' );
# Enables use of WikiEditor by default but still allows users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;
# 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;
# OpenID Connect
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'OpenIDConnect' );