From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎日本語
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status stable

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description Two new parser hooks, <loggedin> and <loggedout> to show different text depending on the users' login state
Author(s)Template:Extension#username Aaron Wright
David Pean
Jack Phoenix
Latest versionTemplate:Extension#version 1.5.0 (2015-11-20)
MediaWikiTemplate:Extension#mediawiki 1.31+
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
ExampleTemplate:Extension#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)

Translate the WikiTextLoggedInOut extension if it is available at translatewiki.net

Check usage and version matrix.


Open tasks · Report a bug

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


  • Download and place the file(s) in a directory called WikiTextLoggedInOut in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'WikiTextLoggedInOut' );
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.