[Mediawiki-l] Selective information displayed for logged user

Jim Hu jimhu at tamu.edu
Fri Jul 20 16:51:57 UTC 2007


Depending on the kind of information, you could display it somewhere  
outside the page itself - like in the sidebar or footer.

On Jul 20, 2007, at 12:03 AM, Gaetan Lord wrote:

> 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
>
> Thank
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at 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




More information about the MediaWiki-l mailing list