Extension:TwitterTag/de-formal
TwitterTag Release status: stable |
|
---|---|
Implementation | Tag |
Author(s) | Mikko Miettinen Original version: |
Latest version | 1.2.1 |
Compatibility policy | Master maintains backward compatibility. |
MediaWiki | 1.27+ |
PHP | 7.1.0+ |
License | GNU General Public License 3.0 or later |
Download | |
Example | Jedipedia |
<twitter /> |
|
Quarterly downloads | 5 (Ranked 142nd) |
Translate the TwitterTag extension if it is available at translatewiki.net | |
The TwitterTag extension adds <twitter />
tag to allow embedding Twitter content on pages.
It is ported from Fandom's extension.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
TwitterTag
im Ordnerextensions/
ablegen.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TwitterTag - Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen:
wfLoadExtension( 'TwitterTag' );
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Usage
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.
-
Examples of tweets
-
Examples of profile timelines
-
Examples of list timelines
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |