Suppress warnings including deprecation notices when MEDIAWIKI_DEBUG=0.

This commit is contained in:
Flancian 2024-11-06 00:42:12 +01:00
parent 95f1e9368b
commit 006470a427
2 changed files with 6 additions and 1 deletions

View File

@ -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' );

View File

@ -1,4 +1,4 @@
export LOCAL_SETTINGS_CONF_VERSION=v25
export LOCAL_SETTINGS_CONF_VERSION=v26
export HTACCESS_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v21
export COMPOSER_LOCAL_CONF_VERSION=v5