Extension:WikiTextLoggedInOut
Release status: stableCategory:Stable extensions |
|
|---|---|
| Implementation | TagCategory:Tag extensions |
| 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 |
| Latest version | 1.5.0 (2015-11-20) |
| MediaWiki | 1.43+Category:Extensions with manual MediaWiki version |
| Licence | GNU General Public License 2.0 or later |
| Download | Category:Extensions in Wikimedia version control |
| 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 | |
| Issues | 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.
Installation
- Download and move the extracted
WikiTextLoggedInOutfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiTextLoggedInOut
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WikiTextLoggedInOut' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
| This extension is included in the following wiki farms/hosts and/or packages: |
Category:All extensions
Category:Extensions by Fandom
Category:Extensions in Wikimedia version control
Category:Extensions included in Miraheze
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:ParserFirstCallInit extensions
Category:ParserOptionsRegister extensions
Category:Social tools
Category:Stable extensions
Category:Tag extensions
