Manual:$wgRCFilterByAge

Details
Filter  by  to avoid showing links for numbers higher than what will be stored.

Note that this is disabled by default because we sometimes do have RC data which is beyond the limit for some reason, and some users may use the high numbers to display that data which is still there.