(Created page with "<noinclude>__NOTOC__ This widget allows you to '''[https://help.x.com/en/using-x/how-to-embed-a-post embed a post from X (formerly Twitter)]''' on your wiki page. Created by Yaron Koren, based in part on the [https://www.mediawikiwidgets.org/Widget:Tweet|Tweet] widget. == Using this widget == For information on how to use this widget, see [https://www.mediawikiwidgets.org/X_post widget description page on MediaWikiWidgets.org]. == Copy to your site == To use this widg...") Â |
No edit summary Tag: Manual revert  |
||
(11 intermediate revisions 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>— <!--{$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>— <!--{$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.