Extension:RandomUsersWithAvatars
From MediaWiki.org
RandomUsersWithAvatars Release status: stable |
|
---|---|
Implementation | Tag |
Description | Shows the avatars of randomly chosen wiki users who have uploaded an avatar. |
Author(s) | David Pean Jack Phoenix |
Latest version | 1.3.0 (27 September 2014) |
MediaWiki | 1.23+ |
License | GNU General Public License 2.0 or later |
Download | |
Example | Halopedia main page (while not logged in) Development/Testing wiki on Wikimedia Labs |
Translate the RandomUsersWithAvatars extension if it is available at translatewiki.net |
|
Check usage and version matrix; code metrics |
RandomUsersWithAvatars parser hook extension displays randomly chosen avatars of your wiki's users on the page wherever you place the tag. For example, <randomuserswithavatars count=15 row=5/>
would display a total of 15 avatars, 5 per row.
You need to have SocialProfile installed and configured properly before installing this extension.
It should also be noted that if only one user has uploaded an avatar and no other user has done so, using <randomuserswithavatars> causes a PHP warning about invalid arguments for foreach in the main extension file and no avatars are displayed. For example, if 2 or more users have uploaded an avatar, then this tag will work properly.
Installation[edit | edit source]
- Download and extract the tarball in your
extensions/
folder. It should generate a new folder calledRandomUsersWithAvatars
directly inside yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/RandomUsersWithAvatars/RandomUsersWithAvatars.php";
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Social tools | |
---|---|
SocialProfile | Overview • Roadmap • Developer info • Screenshots • History • UserStatus (GSoC 2011 project) |
Other social extensions | Automatic Board Welcome • BlogPage • Challenge • FanBoxes • MiniInvite • NewUsersList • PictureGame • PollNY • QuizGame • RandomFeaturedUser • RandomGameUnit • RandomUsersWithAvatars • SiteMetrics • SiteScout • SportsTeams • UserStatus • UserWelcome |
Semanticness | Semantic Social Profile |
Other related extensions (which do not depend on SocialProfile) |
Answers • Comments • LinkFilter • MediaWikiChat • NewSignupPage • Video • VoteNY • WikiForum • WikiTextLoggedInOut |