Extension:UserWelcome
From Linux Web Expert
UserWelcome Release status: stable |
|
---|---|
Implementation | Tag |
Description | Adds SocialProfile tag to display user-specific social info to logged-in users when SocialProfile extension is installed on the wiki. |
Author(s) | David Pean Jack Phoenix |
Latest version | 1.4.1 |
MediaWiki | Whatever SocialProfile requires |
License | GNU General Public License 2.0 or later |
Download | Available as a part of Extension:SocialProfile |
Example | Fish Hooks Wiki (while logged in) |
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'). |
Translate the UserWelcome extension | |
Issues | 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.
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>
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/SocialProfile/UserWelcome</tvar>|Download]] and move the extracted <tvar name=name>
SocialProfile/UserWelcome
</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/SocialProfile%2FUserWelcome - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'SocialProfile/UserWelcome' );
- 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>
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |