Extension:GittipWidget

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎sicilianu • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
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
Tags
<gittip>
Hooks used
SkinAfterBottomScripts
ParserFirstCallInit
Translate the GittipWidget extension if it is available at translatewiki.net
Check usage and version matrix.

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