[Mediawiki-l] Variables in Wikitext & Browser Caching

Wolfe, Jeff Jeff_Wolfe at intuit.com
Wed Jul 13 00:41:58 UTC 2005


I realize it's been a while, but I thought I would share our result.  We
wrote an extension - titled "nocache" that simply included the code from
meta at (http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ).  This
gives us a tag that we can put on any page and seems 99% of the time to
defeat the browser cache.

Seems to be working for us at least.  Your mileage may vary :)

Jeff

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Rowan Collins
Sent: Tuesday, June 14, 2005 3:35 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Variables in Wikitext & Browser Caching

On 14/06/05, Rick DeNatale <rick.denatale at gmail.com> wrote:
> Something doesn't compute here Rowan.

> {{MPHist/{{CURRENTMONTHNAME}}{{CURRENTDAY}}}}
> which selects the proper subpage for the date.
> And this seems to work.

Hmm; my memory was that that explicitly *didn't* work without manual
intervention (i.e. trivial/null edits or cache purges), but maybe someone
came up with a solution already?

Wikipedia's Talk:Main_Page still has the prominent message "Main Page out of
date? Purge the cache
(http://en.wikipedia.org/w/wiki.phtml?title=Main_Page&action=purge)..."

--
Rowan Collins BSc
[IMSoP]
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list