Jump to content

Extension:UserWelcome/pl

From mediawiki.org
This page is a translated version of the page Extension:UserWelcome and the translation is 9% complete.
Podręcznik rozszerzeń MediaWiki
UserWelcome
Status wydania: stabilne
Realizacja Znaczniki
Opis Adds SocialProfile tag to display user-specific social info to logged-in users when SocialProfile extension is installed on the wiki.
Autor(zy) David Pean
Jack Phoenix
Ostatnia wersja 1.4.1
MediaWiki Whatever SocialProfile requires
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie Available as a part of Extension:SocialProfile
Przykład Fish Hooks Wiki (while logged in)
Translate the UserWelcome extension
Problemy Otwarte zadania · Zgłoś błąd

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 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 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>

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie SocialProfile/UserWelcome w folderze extensions/.
    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
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'SocialProfile/UserWelcome' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.