From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status stable

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description Adds <welcomeUser> tag to display user-specific social info to logged-in users when SocialProfile extension is installed on the wiki.
Author(s)Template:Extension#username David Pean
Jack Phoenix
Latest versionTemplate:Extension#version 1.4.1
MediaWikiTemplate:Extension#mediawiki Whatever SocialProfile requires
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download Available as a part of Extension:SocialProfile
ExampleTemplate:Extension#example Fish Hooks Wiki (while logged in)

Translate the UserWelcome extension if it is available at translatewiki.net

Check usage and version matrix.


Open tasks · Report a bug

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.

Note Note: 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 and RandomUsersWithAvatars extension 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>


  • Download and place the file(s) in a directory called SocialProfile/UserWelcome in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'SocialProfile/UserWelcome' );
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.28 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.28 and earlier), instead of wfLoadExtension( 'SocialProfile/UserWelcome' );, you need to use:

require_once "$IP/extensions/SocialProfile/UserWelcome/SocialProfile/UserWelcome.php";