Add UserFunctions to orgawiki

This commit is contained in:
Sid 2026-02-07 18:08:47 +01:00
parent ea01550b66
commit d207d0c008
Signed by: autinerd
SSH key fingerprint: SHA256:Ko/pM/cFnE8Mr5y6ECcI0Z908mhmO64puMHf9BK99Zg
2 changed files with 57 additions and 36 deletions

View file

@ -170,6 +170,7 @@ wfLoadExtension( 'SemanticMediaWiki' );
enableSemantics( 'orgawiki.ctbk.de' );
wfLoadExtension( 'Lockdown' );
wfLoadExtension( 'UserFunctions' );
#### Permissions
@ -291,6 +292,9 @@ $smwgNamespacesWithSemanticLinks[NS_VEREIN_TALK] = true;
$wgContentNamespaces[] = NS_FSCK;
$wgContentNamespaces[] = NS_VEREIN;
# Allow user functions in all namespaces, needed for main page based on group membership
$wgUFAllowedNamespaces = array_fill( 0, 300, true );
# use proxy ip addresses -- were behind (at least) one reverse proxy that sets X-Forwarded-For
$wgUsePrivateIPs = true;
# ingress haproxy