User:Yes0song/wiked loader.js

( function {   if (!wgContentLanguage) {        return false;    } else {    var contlang = wgContentLanguage;    function wryte(contlang) {        var url = 'http://www.wikia.com/index.php?title=User:Yes0song/wiked_'            + contlang            + '.js&action=raw&ctype=text/javascript&dontcountme=s';        var wiked = 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'            + '&action=raw&ctype=text/javascript';        var hed = document.getElementsByTagName('head')[0];        var scrptone = document.createElement('script');        var scrpttwo = document.createElement('script');        scrptone.setAttribute('type', 'text/javascript');        scrptone.setAttribute('src', url);        scrpttwo.setAttribute('type', 'text/javascript');        scrpttwo.setAttribute('src', wiked);        hed.appendChild(scrptone);        hed.appendChild(scrpttwo);        }    if (contlang == ('cdo'||'gan'||'hak'||'nan'||'zh-min-nan')) { wryte('charis'); } else if (contlang == ('ja')) { wryte('ja'); } else if (contlang == ('wuu'||'zh-cn'||'zh-hans'||'zh-sg'||'zh-my')) { wryte('zh-cn'); } else if (contlang == ('yue'||'zh'||'zh-classical'||'zh-hant'||'zh-hk'||'zh-tw'||'zh-yue')) { wryte('zh-tw'); } else { wryte('default'); }   } } );