مدیاویکی:Gadget-googletranslator.js: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
He7d3r (بحث | مشارکت‌ها)
Migration: appendCSS → mw.util.addCSS; importScriptURI → mw.loader.load; addOnloadHook → $; addPortletLink → mw.util.addPortletLink
جز Maintenance: Replacing legacy global variable (phab:T72470)
خط ۴۸:
// need to set document.domain here, each language should set this field here
 
document.domain = mw.config.get('wgServer').substring( mw.config.get('wgServer').lastIndexOf("//")+2);