minor settings updates and job runners
This commit is contained in:
parent
8c710546af
commit
7146d40ea2
6 changed files with 93 additions and 2 deletions
|
@ -163,10 +163,13 @@ wfLoadExtension( 'WikiEditor' );
|
|||
wfLoadExtension( 'PluggableAuth' );
|
||||
wfLoadExtension( 'OpenIDConnect' );
|
||||
|
||||
$wgPFEnableStringFunctions = true;
|
||||
|
||||
# SMW config
|
||||
wfLoadExtension( 'SemanticMediaWiki' );
|
||||
enableSemantics( 'wiki.ctbk.de' );
|
||||
|
||||
# Add more configuration options below.
|
||||
$smwgQueryResultCacheType = CACHE_ANYTHING;
|
||||
$wgGroupPermissions['sysop']['smw-admin'] = true;
|
||||
|
||||
# Disable account creation - we only use SSO accounts
|
||||
$wgGroupPermissions['*']['autocreateaccount'] = true;
|
||||
|
@ -185,7 +188,19 @@ $wgPluggableAuth_Config["Chaostreff Backnang IdP"] = [
|
|||
'data' => [
|
||||
'providerURL' => 'https://idp.ctbk.de/realms/ctbk/',
|
||||
'clientID' => 'public_mediawiki',
|
||||
'scope' => [ 'openid', 'profile', 'email', 'groups' ],
|
||||
'clientsecret' => $ctbkClientSecret
|
||||
],
|
||||
# use Keycloak group definitions to manage groups centrally
|
||||
'groupsyncs' => [
|
||||
[
|
||||
'type' => 'mapped',
|
||||
'map' => [
|
||||
'sysop' => [ 'groups' => '/mediawiki/admins' ],
|
||||
'buerocrat' => [ 'groups' => '/mediawiki/admins' ],
|
||||
'interface-admin' => [ 'groups' => '/mediawiki/admins' ]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
|
@ -202,3 +217,9 @@ $wgHideInterlanguageLinks = false;
|
|||
|
||||
# uncomment this if Semantic MediaWiki property locking is broken
|
||||
#$smwgChangePropagationProtection = false;
|
||||
|
||||
# SVG config
|
||||
$wgFileExtensions[] = 'svg';
|
||||
# This extension will no longer be needed in MediaWiki >= 1.41, then $wgSVGNativeRendering can be used
|
||||
wfLoadExtension( 'NativeSvgHandler' );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue