Extension:GittipWidget/zh
![]() 發佈狀態: 穩定版本 |
|
---|---|
实现 | 标签 |
描述 | 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";
- 完成 – 在您的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.