"Widget:DISQUS"의 두 판 사이의 차이
미미위키
잔글 |
잔글 |
||
1번째 줄: | 1번째 줄: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
− | This widget allows you to embed '''[ | + | This widget allows you to embed '''[//www.disqus.com/ DISQUS Comments]''' on your wiki page. |
− | Created by [ | + | Created by [//www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev] |
== Using this widget == | == Using this widget == | ||
− | For information on how to use this widget, see [ | + | For information on how to use this widget, see [//www.mediawikiwidgets.org/DISQUS widget description page on MediaWikiWidgets.org]. |
== Copy to your site == | == Copy to your site == | ||
− | To use this widget on your site, just install [ | + | To use this widget on your site, just install [//www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. |
</noinclude><includeonly><div id="disqus_thread"></div> | </noinclude><includeonly><div id="disqus_thread"></div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
24번째 줄: | 24번째 줄: | ||
(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 = '//' + 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); | ||
})(); | })(); | ||
</script> | </script> | ||
− | <noscript>Please enable JavaScript to view the <a href=" | + | <noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> |
− | <a href=" | + | <a href="//disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a></includeonly> |
2018년 9월 16일 (일) 02:42 판
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 Widget:DISQUS article.