$wgUser->isLoggedIn()
but you'll run into page caching issues.
Jim
On Oct 4, 2007, at 5:23 AM, Schmid, Wolfgang wrote:
Hello list,
I want to show a different page content depending on the login
state of
an user,
i.e. similar to extension ParserFunctions
{{#If <user is logged in> | content for logged in users | content for
unknown users }}
Is there any possibility to determine from within a wiki page if an
user
is logged on or not?
If the user is logged in, I want to address this user with the
real/login name.
I remember there's at least a solution for part 2 of my question.
But I
can't find it.
I'm using wikis with version 1.6.10, 1.9.x, 1.10.x.
Thanks for your help
Wolfgang
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054