"Widget:DISQUS"의 두 판 사이의 차이
미미위키
(http→https) |
잔글 |
||
15번째 줄: | 15번째 줄: | ||
<!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}--> | <!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}--> | ||
<!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}--> | <!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}--> | ||
+ | |||
+ | var disqus_config = function () { | ||
+ | <!--{if (isset($url))}-->this.page.url = '<!--{$url|escape:'quotes'}-->';<!--{/if}--> | ||
+ | <!--{if (isset($uniqid))}-->this.page.identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}--> | ||
+ | }; | ||
/* * * DON'T EDIT BELOW THIS LINE * * */ | /* * * DON'T EDIT BELOW THIS LINE * * */ |
2018년 9월 16일 (일) 02:40 판
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.