Extension:FanBoxes

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎русский • ‎日本語

Extension 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 .