Jump to content

Extension:FanBoxes

From mediawiki.org
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)
Latest version 3.3.0 (2016-07-01)
MediaWiki 1.35+
Database changes Yes
Tables fantag
user_fantag
License GNU General Public License 2.0 or later
Download
NS_FANTAG, NS_FANTAG_TALK
$wgFanBoxPageDisplay['comments']
  • create-userbox
Quarterly downloads 6 (Ranked 123rd)
Translate the FanBoxes extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The 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 the 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

[edit]

Database

[edit]
  • New database tables: fantag,user_fantag

Installation

[edit]
  • Download and move the extracted FanBoxes folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FanBoxes
  • 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

[edit]
  • $wgFanBoxPageDisplay['comments'] - Should we display comments on FanBox pages? Defaults to true (for now, anyway). Requires Extension:Comments .