Last modified: 2006-05-13 00:05:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7926, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5926 - Possible missing cache invalidation for user alerts
Possible missing cache invalidation for user alerts
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.7.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-12 23:41 UTC by netocrat
Modified: 2006-05-13 00:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description netocrat 2006-05-12 23:41:22 UTC
The two calls to $wgOut->setSquidMaxage(0) in outputPage() in SkinTemplate.php
whilst setting up 'newtalk' alerts aren't accompanied by a call to
$wgOut->enableClientCache(false) as occurs in the corresponding code in
Skin.php.  This seems to prevent alert messages from disappearing when a page is
reloaded after alerts should have been cleared by viewing the user talk page.

This applies at least as far back as release 1.5.6.
Comment 1 Brion Vibber 2006-05-12 23:43:55 UTC
Do you mean, for anonymous users? Logged-in users will already be covered by the user_touched update.
Comment 2 netocrat 2006-05-13 00:05:17 UTC
:-)

Actually, I'm not sure what I meant now - the call serves a purpose in Skin.php
but would serve no purpose in SkinTemplate.php.  Excuse this report, it was
based on a memory from an experience a day ago that I (clearly) didn't verify as
reproducible.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links