Jump to content

Extension:GittipWidget

From mediawiki.org
MediaWiki extensions manual
GittipWidget
Release status: stable
Implementation Tag
Description Embeds
Author(s) Marc Juul (Marcjuultalk)
Latest version 0.1 (2014-03-10)
MediaWiki 1.22+ (untested in earlier versions)
Database changes No
License BSD 2-clause "Simplified" License
Download
Example sudoroom.org
‎<gittip>

The GittipWidget extension allows users to embed a Gittip widget that shows how much weekly funding they are receiving.


Download

[edit]

The extension can be downloaded via github. Here's a direct link to the zip file.

Installation

[edit]
  • Download and place the file(s) in a directory called GittipWidget in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/GittipWidget/GittipWidget.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Use

[edit]

To embed a widget, edit the article and add the following where you want to place the widget:

<gittip>username</gittip>

Where username is the name of the gittip account you want to show.