Extension:GittipWidget/pl

From Linux Web Expert

Podręcznik rozszerzeń MediaWiki
GittipWidget
Status wydania: stabilne
Realizacja Znaczniki
Opis
Embeds
Autor(zy) Marc Juul (Marcjuultalk)
Ostatnia wersja 0.1 (2014-03-10)
MediaWiki 1.22+ (untested in earlier versions)
Zmiany w bazie danych Nie
Licencja BSD 2-clause "Simplified" License
Pobieranie
Przykład sudoroom.org
‎<gittip>
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

Pobierz

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

Instalacja

  • <translate> <tvar name=1>Pobierz</tvar> and place the file(s) in a directory called <tvar name=name>GittipWidget/pl</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/GittipWidget/pl/GittipWidget/pl.php";
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Użycie

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.