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 gievn limit.