Extension:FanBoxes

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎русский • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
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.31+
Database changes Yes
License GNU General Public License 2.0 or later
Download
CHANGELOG at Phabricator
Namespace NS_FANTAG, NS_FANTAG_TALK
Parameters
$wgFanBoxPageDisplay['comments']
Added rights
  • create-userbox
Hooks used
TitleMoveComplete
ArticleDelete
ArticleFromTitle
ParserBeforeStrip
ParserFirstCallInit
LoadExtensionSchemaUpdates
RenameUserSQL
CanonicalNamespaces
Translate the FanBoxes extension if it is available at translatewiki.net
Check usage and version matrix.
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[edit]

Installation[edit]

  • 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:
    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 .