MediaWiki extensions manual
FanBoxes
Release status: stable
Implementation Special page
Description A new way of creating and using userboxes, based on special pages
Author(s)
  • Aaron Wright
  • David Pean
  • Robert Lefkowitz
  • Jack Phoenix
Latest version 3.3.0 (2016-07-01)
MediaWiki 1.39+
Database changes Yes
Tables fantag
user_fantag
License GNU General Public License 2.0 or later
Download
CHANGELOG at Phabricator
Namespace
NS_FANTAG, NS_FANTAG_TALK
Parameters
$wgFanBoxPageDisplay['comments']
Hooks used
  • ArticleDelete
  • ArticleFromTitle
  • LoadExtensionSchemaUpdates
  • PageMoveComplete
  • ParserBeforeInternalParse
  • ParserBeforePreprocess
  • ParserFirstCallInit
Quarterly downloads 1 (Ranked 169th)
Translate the FanBoxes extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

FanBoxes extension adds a new way of creating and using userboxes, based on special pages. When installed, three new special pages will be added: Special:UserBoxes (to create new userboxes), Special:TopUserBoxes (to view most popular ones) and Special:ViewUserBoxes (to view all userboxes). It also adds <userboxes> and <fan> parser hooks (TODO: document). Both of these parser hooks disable parser cache.

FanBoxes requires SocialProfile extension and YUI (YUI is used only for the color picker feature on Special:UserBoxes; the YUI files are loaded from Yahoo!'s servers).

Dependencies

  • Extension:SocialProfile
  • Yahoo! User Interface Library (YUI)
  • New database tables: fantag,user_fantag

Installation

  • Download and place the file(s) in a directory called FanBoxes in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'FanBoxes' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Parameters

  • $wgFanBoxPageDisplay['comments'] should we display comments on FanBox pages? Defaults to true (for now, anyway). Requires Extension:Comments.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.