Extension:WikiTextLoggedInOut
From Linux Web Expert
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 |
Latest version | 1.5.0 (2015-11-20) |
MediaWiki | 1.39+ |
License | GNU General Public License 2.0 or later |
Download | |
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) |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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
- <translate> [[<tvar name=2>Special:ExtensionDistributor/WikiTextLoggedInOut</tvar>|Download]] and move the extracted <tvar name=name>
WikiTextLoggedInOut
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiTextLoggedInOut - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'WikiTextLoggedInOut' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- Tag extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- ParserFirstCallInit extensions
- ParserOptionsRegister extensions
- All extensions
- Social tools
- Extensions by Fandom