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";
|
$wgDebugLogFile = "/var/log/debug-{$wgDBname}.log";
|
||||||
$wgShowExceptionDetails = true;
|
$wgShowExceptionDetails = true;
|
||||||
$wgDebugToolbar = true;
|
$wgDebugToolbar = true;
|
||||||
|
{{ else }}
|
||||||
|
$wgShowDebug = false;
|
||||||
|
$wgDevelopmentWarnings = false;
|
||||||
|
$wgDeprecationReleaseLimit = '1.0';
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
{{ if eq (env "OPENID_ENABLED") "1" }}
|
{{ if eq (env "OPENID_ENABLED") "1" }}
|
||||||
wfLoadExtension( 'PluggableAuth' );
|
wfLoadExtension( 'PluggableAuth' );
|
||||||
wfLoadExtension( 'OpenIDConnect' );
|
wfLoadExtension( 'OpenIDConnect' );
|
||||||
|
2
abra.sh
2
abra.sh
@ -1,4 +1,4 @@
|
|||||||
export LOCAL_SETTINGS_CONF_VERSION=v25
|
export LOCAL_SETTINGS_CONF_VERSION=v26
|
||||||
export HTACCESS_CONF_VERSION=v1
|
export HTACCESS_CONF_VERSION=v1
|
||||||
export ENTRYPOINT_CONF_VERSION=v21
|
export ENTRYPOINT_CONF_VERSION=v21
|
||||||
export COMPOSER_LOCAL_CONF_VERSION=v5
|
export COMPOSER_LOCAL_CONF_VERSION=v5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user