Manual:$wgDeprecationReleaseLimit

Details
Release limitation to wfDeprecated warnings. If set to a release number, development warnings will not be generated for deprecations added in releases after the given limit. Set to false to receive all deprecation notices.