Manual:$wgRCLinkDays

Details
List days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.