Page MenuHomePhabricator

split $wgDefaultUserOptions['rcdays'] into two variables
Closed, ResolvedPublic

Description

$wgDefaultUserOptions['rcdays'] affects two different things:

  1. the default Special:RecentChanges&days=
  2. the default Special:RecentChanges&feed=...&days=

It is maddening to try to make available longer or shorter RSS feeds
without at the same time influencing what users see on
Special:RecentChanges, and visa versa.

The solution is to split $wgDefaultUserOptions['rcdays'] into two
options, (yes, initially set to the same value by default there in
DefaultSettings.php.)

Yes, one could tell the user to remember to add a &days to &feed, but that is only for power users.


Version: 1.16.x
Severity: enhancement

Details

Reference
bz19056

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:40 PM
bzimport set Reference to bz19056.
bzimport added a subscriber: Unknown Object (MLST).
saper subscribed.

If we add RSS feed as one of the API formats, then creation of fancy custom Recent Changes feeds should be possible.

saper claimed this task.

Well this is actually possible now by adjusting days parameter in the feed URL.