Tillägg:WikiTextLoggedInOut
![]() Utgivningsstatus: stabil |
|
---|---|
Genomförande | Tagg |
Beskrivning | Two new parser hooks, <loggedin> and <loggedout> to show different text depending on the users' login state |
Författare | Aaron Wright David Pean Jack Phoenix |
Senaste versionen | 1.5.0 (2015-11-20) |
MediaWiki | 1.39+ |
Licenser | GNU General Public License 2.0 eller senare |
Ladda ner | |
Exempel | 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 | 4 (Ranked 173rd) |
Översätt tillägget WikiTextLoggedInOut om det finns tillgängligt på translatewiki.net | |
Ärenden | Öppna ärenden · Rapportera en bugg |
WikiTextLoggedInOut extension adds two new parser hooks, <loggedin>
and <loggedout>
.
The tags will show different text depending on the users' login state.
Installation
- Ladda ner och placera filen/filerna i en katalog som heter
WikiTextLoggedInOut
i dinextensions/
-mapp. - Lägg till följande kod längst ner i dina
LocalSettings.php
:wfLoadExtension( 'WikiTextLoggedInOut' );
Klart – Ta dig till Special:Version på din wiki för att bekräfta att tillägget har installerats ordentligt.
Följande paket och/eller wikihotell innehåller detta tillägg: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |