Erweiterung:UserWelcome

From mediawiki.org
This page is a translated version of the page Extension:UserWelcome and the translation is 36% complete.
MediaWiki-Erweiterungen
UserWelcome
Freigabestatus: stabil
Einbindung Tag
Beschreibung Adds Erweiterung:SocialProfile tag to display user-specific social info to logged-in users when Erweiterung:SocialProfile extension is installed on the wiki.
Autor(en) David Pean
Jack Phoenix
Letzte Version 1.4.1
MediaWiki Was auch immer SocialProfile benötigt
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen Verfügbar als Teil von Erweiterung:SocialProfile
Beispiel Fish Hooks Wiki (while logged in)
Übersetze die UserWelcome-Erweiterung
Probleme Offene Aufgaben · Einen Fehler melden

UserWelcome extension adds ‎<welcomeUser /> parser hook that displays user-specific social info to the user on the page where a ‎<welcomeUser /> tag is present. The extension will display the number of new user board messages, gifts, awards, friend and foe requests and the amount of points required to advance into the next level.

You need to have Erweiterung:SocialProfile installed and configured properly before installing this extension, since this requires parts of SocialProfile extension and is not meant to be used standalone.

UserWelcome extension works well with Erweiterung:WikiTextLoggedInOut extension. For example, if you have these extensions installed alongside SocialProfile, you could add the following code to your wiki's main page to show random avatars to anonymous users and user-specific social info to logged-in users:

<loggedout><randomuserswithavatars count=15 row=5/></loggedout>
<loggedin><welcomeUser/></loggedin>

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens SocialProfile/UserWelcome im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SocialProfile%2FUserWelcome
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'SocialProfile/UserWelcome' );
    
  • Yes Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.