From mediawiki.org
Jump to navigation Jump to search
Other languages:
English • ‎العربية • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: stable
Implementation Tag
Author(s) Mikko Miettinen
Original version:
Latest version 1.1.0
Compatibility policy Master maintains backwards compatibility.
MediaWiki 1.27+
PHP 7.1.0+
MediaWiki 1.36 Not formally tested
MediaWiki 1.34 Not formally tested
MediaWiki 1.32 Not formally tested
License GNU General Public License 3.0 or later
Example Jedipedia
‎<twitter />
Translate the TwitterTag extension if it is available at translatewiki.net

Check usage and version matrix.

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


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.
  • Download and place the file(s) in a directory called TwitterTag in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'TwitterTag' );
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Currently the extension supports profile timeline, list timeline, and likes timeline. Plans are to additionally implement collection timeline, and possibly individual tweets.

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" />

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

Alternatively, full URL can be provided for all supported timelines using parameter href=.

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