Extension:RandomFeaturedUser

RandomFeaturedUser is an extension that adds &lt;randomfeatureduser&gt; parser hook to display a random featured user along with some data. To use it, type &lt;randomfeatureduser period="weekly"/&gt; or &lt;randomfeatureduser period="monthly"/&gt; on a page.

This extension requires the SocialProfile extension. You will need to set either $wgUserStatsTrackWeekly or $wgUserStatsTrackMonthly or both to true.

You can control what is displayed as the output of the tag. By default, the random featured user's avatar, amount of points and a blurb is displayed. To not display the avatar, set $wgRandomFeaturedUser['avatar'] = false;. To not display the amount of points, set $wgRandomFeaturedUser['points'] = false; and finally to not display the blurb, set $wgRandomFeaturedUser['about'] = false;.

Requirements

 * 1) SocialProfile extension

Installation

 * 1) Download the extension files
 * 2) Create the three required database tables
 * 3) Add require_once("$IP/extensions/RandomFeaturedUser/RandomFeaturedUser.php"); into the wiki's LocalSettings.php
 * 4) Installation can now be verified through the wiki's Special:Version

Usage
Type &lt;randomfeatureduser period="weekly"/&gt; or &lt;randomfeatureduser period="monthly"/&gt;</tt> on a page.