forked from coop-cloud/mediawiki
Suppress warnings including deprecation notices when MEDIAWIKI_DEBUG=0.
This commit is contained in:
parent
95f1e9368b
commit
006470a427
@ -191,8 +191,13 @@ $wgGroupPermissions['*']['createaccount'] = false;
|
||||
$wgDebugLogFile = "/var/log/debug-{$wgDBname}.log";
|
||||
$wgShowExceptionDetails = true;
|
||||
$wgDebugToolbar = true;
|
||||
{{ else }}
|
||||
$wgShowDebug = false;
|
||||
$wgDevelopmentWarnings = false;
|
||||
$wgDeprecationReleaseLimit = '1.0';
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if eq (env "OPENID_ENABLED") "1" }}
|
||||
wfLoadExtension( 'PluggableAuth' );
|
||||
wfLoadExtension( 'OpenIDConnect' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user