Extension:GittipWidget

From mediawiki.org
This page is a translated version of the page Extension:GittipWidget and the translation is 45% complete.
MediaWiki 拡張機能マニュアル
GittipWidget
リリースの状態: 安定
実装 タグ
説明 Embeds
作者 Marc Juul (Marcjuulトーク)
最新バージョン 0.1 (2014-03-10)
MediaWiki 1.22+ (untested in earlier versions)
データベースの変更 いいえ
ライセンス 二条項 BSD ライセンス
ダウンロード
sudoroom.org
‎<gittip>

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


ダウンロード

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

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のGittipWidgetという名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    require_once "$IP/extensions/GittipWidget/GittipWidget.php";
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

使用

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.