Extension:WikiTextLoggedInOut

From MediaWiki.org

Jump to: navigation, search

           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
WikiTextLoggedInOut

Release status: stable

Implementation  Tag
Description Two new parser hooks, <loggedin> and <loggedout> to show different text depending on the users' login state
Author(s)  Aaron Wright
David Pean
Jack Phoenix
Last Version  1.1 (January 10, 2010)
MediaWiki  1.11
License GNU General Public License 2.0 or later
Download Download snapshot

Subversion [Help]
Browse source code

Example  Halopedia main page (displays random avatars for anonymous users and a welcome message for registered users, achieved with the usage of <loggedin> and <loggedout> tags)

check usage (experimental)

WikiTextLoggedInOut extension adds two new parser hooks, <loggedin> and <loggedout>. The tags will show different text depending on the users' login state.

[edit] Installation

  1. Download the files from SVN and place them in $IP/extensions/WikiTextLoggedInOut/
  2. Add
    require_once("$IP/extensions/WikiTextLoggedInOut/WikiTextLoggedInOut.php");
    into your wiki's LocalSettings.php
  3. Installation can now be verified through your wiki's Special:Version.