Widget:X post: Difference between revisions

From Madness Combat Wiki
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
</noinclude><includeonly>
</noinclude><includeonly>
<!--{if isset($id)}-->
<!--{if isset($id)}-->
<blockquote class="twitter-tweet"><p lang="en" dir="ltr"><!--{$text|escape:html}--> <a href="https://t.co/<!--{$urlCode|escape:html}-->">https://t.co/<!--{$urlCode|escape:html}--></a></p>&mdash; <!--{$author|escape:html}--> (@<!--{$username|escape:html}-->) <a href="https://twitter.com/<!--{$username|escape:html|default:dummy_username}-->/status/<!--{$id|escape:html}-->"><!--{$date|escape:html}--></a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<blockquote class="twitter-tweet" data-theme="dark"><p lang="en" dir="ltr"><!--{$text|escape:html}--> <a href="https://t.co/<!--{$urlCode|escape:html}-->">https://t.co/<!--{$urlCode|escape:html}--></a></p>&mdash; <!--{$author|escape:html}--> (@<!--{$username|escape:html}-->) <a href="https://twitter.com/<!--{$username|escape:html|default:dummy_username}-->/status/<!--{$id|escape:html}-->"><!--{$date|escape:html}--></a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!--{else}-->
<!--{else}-->
     <b style="color:red">No ID supplied for X post!</b>
     <b style="color:red">No ID supplied for X post!</b>
<!--{/if}-->
<!--{/if}-->
</includeonly>
</includeonly>

Latest revision as of 15:24, 26 September 2024

This widget allows you to embed a post from X (formerly Twitter) on your wiki page.

Created by Yaron Koren, based in part on the [1] widget.

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:X post.