[Mediawiki-l] Cached ContentActionUrls?

Brion Vibber brion at pobox.com
Thu Feb 9 00:03:19 UTC 2006


Tony Bowden wrote:
> Unfortunately, the list of content actions seems to get cached on the
> page, requiring an action=purge to correctly toggle the contents of
> the tabs.
> 
> I can get around this by calling $this->mTitle->invalidateCache() but I
> can't see what it is that makes watch/unwatch (or protect/unprotect)
> not hit the same problem, so I'm not sure whether that's really the
> right way to do this.

Watch/unwatch updates the user's cache timestamp.

Protect/unprotect updates the page's cache timestamp.

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060208/ba6b669a/attachment.pgp 


More information about the MediaWiki-l mailing list