Extension:FanBoxes

From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎русский • ‎日本語
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
FanBoxes

Release status:Extension status stable

ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description A new way of creating and using userboxes, based on special pages
Author(s)Template:Extension#username
Latest versionTemplate:Extension#version 3.3.0 (2016-07-01)
MediaWikiTemplate:Extension#mediawiki 1.31+
Database changesTemplate:Extension#needs-updatephp Yes
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
CHANGELOG at Phabricator
NamespaceTemplate:Extension#namespace

NS_FANTAG, NS_FANTAG_TALK

ParametersTemplate:Extension#parameters

$wgFanBoxPageDisplay['comments']

Added rightsTemplate:Extension#rights
  • create-userbox
Hooks usedTemplate:Extension#hook
TitleMoveCompleteManual:Hooks/TitleMoveComplete
ArticleDeleteManual:Hooks/ArticleDelete
ArticleFromTitleManual:Hooks/ArticleFromTitle
ParserBeforeStripManual:Hooks/ParserBeforeStrip
ParserFirstCallInitManual:Hooks/ParserFirstCallInit
LoadExtensionSchemaUpdatesManual:Hooks/LoadExtensionSchemaUpdates
RenameUserSQL
CanonicalNamespacesManual:Hooks/CanonicalNamespaces

Translate the FanBoxes extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

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 SocialProfileExtension: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.
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Parameters[edit]