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)  Wikia, Inc. (New York Team)
Last Version  1.0 (2008-07-01)
MediaWiki  1.11
License No license specified
Download SVN (browse)
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 file from SVN and place it 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.