Widget:Discourse
Naar navigatie springen
Naar zoeken springen
This is a test widget for embedding Discourse topics - from forum.infvo.nl
Using this widget
This is a test widget
page= <script type="text/javascript">
DiscourseEmbed = { discourseUrl: 'https://forum.infvo.nl/', topicId: <--($topicid)--> };
(function() { var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true; d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d); })();
</script>
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Discourse article.