Extension:FanBoxes

From Linux Web Expert

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
CHANGELOG at Phabricator
NS_FANTAG, NS_FANTAG_TALK
$wgFanBoxPageDisplay['comments']
  • create-userbox
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/FanBoxes</tvar>|Download]] and move the extracted <tvar name=name>FanBoxes</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FanBoxes
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'FanBoxes' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Parameters

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