Extension:WikiTextLoggedInOut/sv

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Manual för MediaWikitillä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 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').
Ö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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/WikiTextLoggedInOut/sv</tvar>|Download]] and move the extracted <tvar name=name>WikiTextLoggedInOut/sv</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%2Fsv
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'WikiTextLoggedInOut/sv' );
    
  • 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>