Add UserFunctions to orgawiki
This commit is contained in:
parent
ea01550b66
commit
d207d0c008
2 changed files with 57 additions and 36 deletions
|
|
@ -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 -- we’re behind (at least) one reverse proxy that sets X-Forwarded-For
|
||||
$wgUsePrivateIPs = true;
|
||||
# ingress haproxy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue