On 19 Nov 09, at 13:34, [email protected] wrote: > From: Platonides <[email protected]> > > Jan Steinman wrote: >>> From: "K. Peachey" <[email protected]> >>> >>> On Thu, Nov 19, 2009 at 11:00 AM, Jan Steinman <[email protected]> >>> wrote: >>> Are you using any sort of cahceing, because that would just plain >>> break it? >> >> No caching that I'm aware of beyond what MW does. >> >> >> :::: The Earth isn't a pizza. You can't dial up and have one >> delivered! -- Alf :::: >> :::: Jan Steinman <http://www.EcoReality.org> :::: > > $wgUser->isLoggedIn() / $wgUser->getId() > > Default mediawiki caching will give you problems. You need to disable > page caching on at least the pages which use your tag, by using > $parser->disableCache() > http://www.mediawiki.org/wiki/Extensions_FAQ#Recent_versions
Thanks, Platonides. I do understand how to get the user from within PHP; I was hoping to get it from within wikitext. I suppose I could write an extension that does nothing but answer the current user and their ID... :::: Once a nation parts with the control of its curency and credit, it matters not who makes that nation's laws. — Mackenzie King :::: :::: Jan Steinman, EcoReality <http://www.EcoReality.org> :::: _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
