more extensions!
This commit is contained in:
parent
5d19eacf95
commit
f3ca94de27
2 changed files with 56 additions and 1 deletions
|
@ -159,6 +159,10 @@ wfLoadExtension( 'TemplateData' );
|
|||
wfLoadExtension( 'TitleBlacklist' );
|
||||
wfLoadExtension( 'VisualEditor' );
|
||||
wfLoadExtension( 'WikiEditor' );
|
||||
wfLoadExtension( 'CodeMirror' );
|
||||
wfLoadExtension( 'TemplateStyles' );
|
||||
wfLoadExtension( 'TemplateStylesExtender' );
|
||||
wfLoadExtension( 'Widgets' );
|
||||
|
||||
wfLoadExtension( 'PluggableAuth' );
|
||||
wfLoadExtension( 'OpenIDConnect' );
|
||||
|
@ -180,6 +184,10 @@ $wgGroupPermissions['sysop']['createaccount'] = true;
|
|||
# allow copy uploads by anyone
|
||||
$wgGroupPermissions['user']['upload_by_url'] = true;
|
||||
|
||||
# disallow widget editing by anyone except sysops
|
||||
$wgGroupPermissions['*']['editwidgets'] = false;
|
||||
$wgGroupPermissions['sysop']['editwidgets'] = true;
|
||||
|
||||
# SSO config
|
||||
# necessary to allow admin user(s) to login
|
||||
$wgPluggableAuth_EnableLocalLogin = true;
|
||||
|
@ -204,6 +212,8 @@ $wgPluggableAuth_Config["Chaostreff Backnang IdP"] = [
|
|||
]
|
||||
];
|
||||
|
||||
$wgDefaultUserOptions['usecodemirror'] = 1;
|
||||
|
||||
# interwiki config
|
||||
$wgGroupPermissions['sysop']['interwiki'] = true;
|
||||
$wgInterwikiMagic = true;
|
||||
|
@ -223,3 +233,8 @@ $wgFileExtensions[] = 'svg';
|
|||
# This extension will no longer be needed in MediaWiki >= 1.41, then $wgSVGNativeRendering can be used
|
||||
wfLoadExtension( 'NativeSvgHandler' );
|
||||
|
||||
# do not sanitize my CSS
|
||||
#$wgTemplateStylesAutoParseContent = false;
|
||||
$wgTemplateStylesExtenderEnablePrefersColorScheme = true;
|
||||
$wgTemplateStylesExtenderEnableCssVars = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue