Difference between revisions of ":DISQUS"
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[http://www.disqus.com/ DISQUS Comments]''' on your wiki page. Created by [http://www.mediawikiwidgets.org/User:Sergey...") |
|||
Line 19: | Line 19: | ||
(function() { | (function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
− | dsq.src = ' | + | dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | })(); |
Latest revision as of 09:59, 16 February 2016
This widget allows you to embed DISQUS Comments on your wiki page.
Created by Sergey Chernyshev
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, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as :DISQUS article.