Extension:TwitterTag/pl

From mediawiki.org
This page is a translated version of the page Extension:TwitterTag and the translation is 11% complete.
Podręcznik rozszerzeń MediaWiki
TwitterTag
Status wydania: stabilne
Realizacja Znaczniki
Autor(zy) Mikko Miettinen
Original version:
Ostatnia wersja 1.2.1
Polityka zgodności Master maintains backward compatibility.
MediaWiki 1.27+
PHP 7.1.0+
Licencja GNU General Public License 3.0 or later
Pobieranie
Przykład Jedipedia
‎<twitter />
Quarterly downloads 5 (Ranked 142nd)
Przetłumacz rozszerzenie TwitterTag jeżeli jest dostępne na translatewiki.net

The TwitterTag extension adds ‎<twitter /> tag to allow embedding Twitter content on pages. It is ported from Fandom's extension.

Instalacja

Unless otherwise specified, you should always download and install "master" version, which is compatible with all supported versions. Release branches are not supported and may be outdated.
  • Pobierz i umieść plik(i) w katalogu o nazwie TwitterTag w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TwitterTag
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'TwitterTag' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Użycie

Currently the extension supports individual tweets, profile timeline and list timeline. Likes timelines were deprecated by Twitter on January 13, 2023. Pages containing them are added to a tracking category since version 1.2.1.

To add a tweet, use following code: ‎<twitter screen-name="screen_name" tweet-id="tweet_id" />

To add a profile timeline, use following code: ‎<twitter screen-name="screen_name" />

To add a list timeline, use following code: ‎<twitter screen-name="screen_name" list-slug="list_slug" />

Alternatively, full URL can be provided using parameter href=.

Most parameters provided by Twitter, such as height=, width=, and lang=, are supported.