Commit graph

15 commits

Author SHA1 Message Date
Alexandre Emsenhuber
5fea872d38 * (bug 21916) Last-Modified header is now correct when outputting cached feed 2010-04-05 16:14:58 +00:00
Alexandre Emsenhuber
a1d9ee26c2 * (bug 22918) Feed cache keys now use $wgRenderHashAppend (so that it doesn't mix between secure.wikimedia.org and normal sites)
* Modified the timestamp key to use all parameters, otherwise various entries are sharing the same timestamp key and thus some of them can be served even though they are out of date. Consider the following case:
** Two requests for feeds sharing the same timestamp key are done
** Someone edits a page (or whatever else that change the recentchanges table)
** A user request one of the two feed above, the feed is correctly re-generated and the timestamp key changed
** A request for the other feed is done, this time the timestamp is the one of the request just above and the cached version will be served (even though it should not)

Based on a patch by Bawolff.
2010-04-04 13:38:12 +00:00
Tim Starling
e185e2b9b3 * Fix for r60163: in RC/RCL, hash together all the options, not just namespace, in order to form the cache key.
* Removed Crb from the credits since none of his code remains.
* Fixed two bugs which both broke feed links on RCL: $this->mTargetTitle not initialised when setTopText() is called, and $out->setFeedAppendQuery() in setBottomText() overridden by a subsequent call to setSyndicated(). Fixed both by rearranging data flow, using memoized accessors instead of setup functions to eliminate bugs due to execution order.
* Renamed a few variables which were unclear ($feed and $feedObj).
2010-02-10 04:13:43 +00:00
Alexandre Emsenhuber
36d2910fa9 * Document a bit
* Add new doxygen group "Feed"
* Fix some doxygen warnings
2010-01-09 21:59:40 +00:00
Happy-melon
1769c444f2 Follow-up to r60163 - add new function parameters at the end of the parameter list. And update release notes. 2009-12-17 20:28:57 +00:00
Happy-melon
b4b5eeb2c6 (bug 21535) Add 'namespace' to cache key for RecentChanges RSS feed. Patch by crb, reviewed by Rowan. 2009-12-17 15:42:17 +00:00
Bryan Tong Minh
7cc194b185 (bug 19391) Fix caching for Recent ChangesFeed. Patch by Mormegil. 2009-11-12 22:13:20 +00:00
Chad Horohoe
523ce0a9b9 (bug 19394) Recent changes feed items corresponding to some log entries are broken. Patch by Mormegil 2009-08-02 03:07:07 +00:00
Aaron Schulz
3da21760df Skip feed items with deleted content entirely, fixes bug 19965 2009-07-28 10:05:14 +00:00
Chad Horohoe
51ddf4f1df Cleanup to $wgFeedClasses:
* Remove 2 unused globals
* (bug 17488) Link in toolbar to feeds should be localized (already have the feed-$format messages) Patch by Marcin Cieślak.
* Tangentially, can $wgFeedClasses be moved from Defines to DefaultSettings? Seems to make more sense in the latter.
2009-02-14 16:00:51 +00:00
Aaron Schulz
c4b92206fc * Added 'target' param to changesfeed to fix total breakage of RCL feed. They were all using the same cache so the feed for page X sometimes showed the feed for page Y.
* Removed extra constant cache key params
* Added feed comments
* Fixed tab space
2009-01-17 18:44:28 +00:00
Chad Horohoe
93dbb214d0 Remove some unused globals. 2008-11-04 02:53:47 +00:00
Aaron Schulz
8d830b928c Don't throw fatals for bogus feed types (bug 15596) 2008-09-14 12:25:53 +00:00
Chad Horohoe
b8d6dc383c A few misc. docs here and there. 2008-09-13 06:21:18 +00:00
Niklas Laxström
58f7bb30a0 Refactored SpecialRecentchanges:
* Use a class and new frameworks
* Split into functions
* Two new hooks
* Split feed related items to new classes that are autoloaded
2008-06-17 08:24:00 +00:00