Manual talk:$wgRCMaxAge

From MediaWiki.org

Jump to: navigation, search

Is this setting realy maintained?

In my little (low traffic) wikis, Iwould loe to keep the change history for a year or forever. However, when I change the setting to e.g.

$wgRCMaxAge = 31536000;

or

$wgRCMaxAge = 9536000;

I do not see any changes in the "Recent Changes" page.

I don't really know much about the inner workings of recent changes, but my understanding is that it is generated from a dedicated table, and that $wgRCMaxAge tells MW how long to keep the data in that table. If that is true, then increasing this value won't have any immediate effect, but you should find that the list gets longer as the days go by, until ultimately the length of the list reflects the value set here. --HappyDog 00:57, 6 November 2007 (UTC)
Is there a way to add data to the table from before this variable was changed? 71.178.128.211 17:00, 23 November 2007 (UTC)

[edit] This setting is to be done where?

I think this setting has to be done in the LocalSettings.php ??
Proposal:

  • Mention this in the Manual
  • screen an example

Thank you. --FSLEP !? @ 07:17, 12 January 2009 (UTC)

[edit] Default value

As there are given on those recentchanges pages by default values of 14 and 30 days to be shown, I think the default value of this setting should be adjusted to a 30 day max, or the default values of 14 and 30 days given on recentchanges pages should be omitted by default. It's just confusing when those values don't change the page's content because another default setting blocks it by default. Regards -- JörgM 84.156.161.201 07:59, 28 April 2009 (UTC)

[edit] Now defaults to 7 days...

With MediaWiki 1.15.1, I'm seeing this default to 7 days instead of 91 days as displayed when running maintenance/rebuildrecentchanges.php. I've set the value back to 91 days in the LocalSettings.php and that resolves the issue.