X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=209edefc282c359b1f9e757f081cb92afb53ccf9;hb=5b52c881be2c791209ec1d24cfab5790e19b0ec8;hp=40b339540aa96660e8b073c2ecd70349a00e9b6e;hpb=8f61a169009915d6b2659478304e5805f4c7f4ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index 40b339540a..209edefc28 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -341,11 +341,6 @@ if ( !$wgEnotifMinorEdits ) { $wgHiddenPrefs[] = 'enotifminoredits'; } -# $wgDisabledActions is deprecated as of 1.18 -foreach ( $wgDisabledActions as $action ) { - $wgActions[$action] = false; -} - # We always output HTML5 since 1.22, overriding these is no longer supported # we set them here for extensions that depend on its value. $wgHtml5 = true; @@ -457,6 +452,11 @@ if ( !$wgHTCPRouting && $wgHTCPMulticastAddress ) { ); } +// Back compatibility for $wgRateLimitLog deprecated with 1.23 +if ( $wgRateLimitLog && ! array_key_exists( 'ratelimit', $wgDebugLogGroups ) ) { + $wgDebugLogGroups['ratelimit'] = $wgRateLimitLog; +} + wfProfileOut( $fname . '-defaults2' ); wfProfileIn( $fname . '-misc1' );