Extension:GittipWidget/zh

From mediawiki.org
This page is a translated version of the page Extension:GittipWidget and the translation is 55% complete.
MediaWiki扩展手册
GittipWidget
发行状态: 稳定版
实现 标签
描述 Embeds
作者 Marc Juul (Marcjuul留言)
最新版本 0.1 (2014-03-10)
MediaWiki 1.22+ (untested in earlier versions)
数据库更改
许可协议 BSD 2 条款“简化”许可证
下載
示例 sudoroom.org
‎<gittip>

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


下載

扩展可以通过github下载。 这是到zip文件的直接链接

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的GittipWidget目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    require_once "$IP/extensions/GittipWidget/GittipWidget.php";
    
  • Yes 完成 – 在您的wiki上导航至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.