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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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