Garten Choi (Talk | contribs) |
Garten Choi (Talk | contribs) |
||
Line 20: | Line 20: | ||
<!-- Channel Plugin Scripts --> | <!-- Channel Plugin Scripts --> | ||
<script> | <script> | ||
− | + | window.channelPluginSettings = { | |
− | "pluginKey": " | + | "pluginKey": "d4a613df-9550-46b1-abe4-e0c534fe4791", //please fill with your plugin key |
+ | //"userId": "YOUR_USER_ID", //fill with user id | ||
+ | "userId": window.mw?mw.config['wgUserId']:null, | ||
+ | "profile": { | ||
+ | "name": window.mw?mw.config['wgUserName']:null //fill with user name | ||
+ | } | ||
}; | }; | ||
(function() { | (function() { | ||
var w = window; | var w = window; | ||
− | + | if (w.ChannelIO) { | |
return (window.console.error || window.console.log || function(){})('ChannelIO script included twice.'); | return (window.console.error || window.console.log || function(){})('ChannelIO script included twice.'); | ||
} | } | ||
Line 60: | Line 65: | ||
})(); | })(); | ||
</script> | </script> | ||
+ | <!-- End Channel Plugin --> | ||
</html> | </html> |
Revision as of 11:03, 5 August 2018