Extension:RandomGameUnit

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
RandomGameUnit

Release status: stable

Implementation Parser extension
Description Displays a randomly chosen picture game, poll or a quiz
Author(s) Aaron Wright
David Pean
Jack Phoenix
Last version 2.0
MediaWiki 1.16+
License GNU General Public License 2.0 or later
Download
Parameters

$wgRandomGameDisplay
$wgRandomImageSize

Hooks used
ParserFirstCallInit

Check usage (experimental)
Bugs: list open list all report

RandomGameUnit extension displays a randomly chosen picture game, poll or a quiz through the <randomgameunit> tag.

[edit] Requirements

  1. SocialProfile extension
  2. PictureGame extension
  3. PollNY extension
  4. QuizGame extension

[edit] Installation

  1. Download the extension files
  2. Add require_once("$IP/extensions/RandomGameUnit/RandomGameUnit.php"); into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version

[edit] Parameters

  • $wgRandomGameDisplay — controls what games are enabled.
    • $wgRandomGameDisplay['random_poll'] — display a random poll. Defaults to true.
    • $wgRandomGameDisplay['random_quiz'] — display a random quiz. Defaults to true.
    • $wgRandomGameDisplay['random_picturegame'] — display a random picture game. Defaults to true.
  • $wgRandomImageSize — width (in pixels) for game images. Defaults to 50.
Social tools
SocialProfile OverviewUserStatus (GSoC 2011 project)RoadmapDeveloper infoScreenshotsHistory
Other social extensions Automatic Board WelcomeBlogPageFanBoxesNewUsersListPictureGamePollNYQuizGameRandomFeaturedUserRandomGameUnitRandomUsersWithAvatarsSiteMetricsUserWelcome
Semanticness Semantic Social Profile
Other related extensions
(which do not depend on SocialProfile)
CommentsLinkFilterNewSignupPageRandomImageByCategoryVideoVoteNYWikiTextLoggedInOut
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox