Extension:UserWelcome

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

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.

IssuesPhabricator

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>
<loggedin><welcomeUser/></loggedin>

Installation[edit]

  1. Add
    require_once("$IP/extensions/SocialProfile/UserWelcome/UserWelcome.php");
    
    into your wiki's LocalSettings.php, after your other SocialProfile-related settings
  2. Installation can now be verified through your wiki's Special:Version.


Social toolsSocial tools
SocialProfileExtension:SocialProfile OverviewExtension:SocialProfileDeveloper infoExtension:SocialProfile/For developersScreenshotsExtension:SocialProfile/ScreenshotsHistorySocial tools#History
Other social extensions Automatic Board WelcomeExtension:Automatic Board WelcomeBlogPageExtension:BlogPageChallengeExtension:ChallengeFanBoxesExtension:FanBoxesMiniInviteExtension:MiniInviteNewUsersListExtension:NewUsersListPictureGameExtension:PictureGamePollNYExtension:PollNYQuizGameExtension:QuizGameRandomFeaturedUserExtension:RandomFeaturedUserRandomGameUnitExtension:RandomGameUnitRandomUsersWithAvatarsExtension:RandomUsersWithAvatarsSiteMetricsExtension:SiteMetricsSiteScoutExtension:SiteScoutSportsTeamsExtension:SportsTeamsUserStatusExtension:UserStatusUserWelcomeExtension:UserWelcome
Other related extensions

(which do not depend on SocialProfile)

AnswersExtension:AnswersAJAXPollExtension:AJAXPollCommentsExtension:CommentsImageRatingExtension:ImageRatingLinkFilterExtension:LinkFilterMediaWikiChatExtension:MediaWikiChatNewSignupPageExtension:NewSignupPageTopListsExtension:TopListsVideoExtension:VideoVoteNYExtension:VoteNYWikiForumExtension:WikiForumWikiTextLoggedInOutExtension:WikiTextLoggedInOut