I have not found a 'process' (extension or base system function) that does what you are looking for. But ..
From the documentation found at http://svn.wikimedia.org/doc/
User::isLoggedIn ( )
A more legible check for non-anonymousness.
Returns true if the user is not an anonymous visitor.
Returns: bool
Definition at line 1716 of file User.php.
References getID().
Referenced by getBlockedStatus(), and isAnon().
This would be your best bet to be sure someone is logged in. With this you could write either a parser extension or a simple extension which could do the work needed.
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Gaetan Lord Sent: Thursday, July 19, 2007 22:03 To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Selective information displayed for logged user
Hi,
Is there any way to display information in a wiki page only if a user is logged in.
The long story. On my main page, I'd like to have specific information displayed only if the user is logged in. I wonder if there is any way to use some "ParserFunctions" to check if we have a logged user or a guest.
{{ #if loggedUser .....
There is the isLoggedIn check that I could do from an extension, but I would rather prefer to not rely on extension