Jump to content

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)
数据库更改
‎<gittip>
许可证 BSD 2-clause "Simplified" License
下載
示例 sudoroom.org

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.