Manual:$wgRCMaxAge/zh

细节
此设置决定最近更改历史记录应保留的时间（以秒为单位）.

Whenever anything happens on the wiki (e.g. page edit, move, delete, new user, etc.) a row is added to the table giving details about the change. Periodically any entries that are older than the length of time given by this setting are removed from the table, and therefore from the list of recent changes.

If no hook for returns false, there is a 1% chance that the recent changes table will be purged.

Changing this value won't suddenly allow you to see more entries on the recent changes page, as the changes have already been removed from the table. However any entries that are still in the table will not expire until the new limit is reached and the changes get purged. If you want to re-populate the recentchanges table having changed this setting, then you need to run.

Setting $wgRCMaxAge to a value such that ['rcdays'] > ceil($wgRCMaxAge/24*3600) (i.e. setting the default number of days to display to be greater than the number of days to retain) may trigger errors on the wiki, such as when viewing user preferences pages.

影响的页面
这一参数影响最近更改、相关更改、监视列表和新页面列表，但不影响历史和用户贡献页面.