There is no point in ignoring a deprecated function. The call really need
to be migrated OR the core function should not be deprecated if there is
any kind of valid usage.
If you really want to hide notifications, uses:
$wgDevelopmentWarnings = false;
Reverts r106993 r106946
*/
$wgDeprecationReleaseLimit = '1.17';
-/**
- * Function name whitelist for wfDeprecated warnings. You will not be warned
- * for usage of deprecated functions in this list. This is mainly useful
- * for extension developers unable to not use certain deprecated functions
- * due to backward compatibility reasons.
- * @since 1.19
- * @var array
- */
-$wgDeprecationWhitelist = array();
-
/** Only record profiling info for pages that took longer than this */
$wgProfileLimit = 0.0;
MWDebug::deprecated( $function, $version, $component );
- if ( !in_array( $function, $GLOBALS['wgDeprecationWhitelist'] ) && !isset( $functionsWarned[$function] ) ) {
+ if ( !isset( $functionsWarned[$function] ) ) {
$functionsWarned[$function] = true;
if ( $version ) {