انتقل إلى المحتوى

مستخدم:Mikimik/monobook.js

من ويكيبيديا، الموسوعة الحرة

ملاحظة: بعد الحفظ، قد يلزمك إفراغ الكاش لرؤية التغييرات.

/* I copied this function from [[User:yonidebest/monobook.js]] and made some changes */
/* This function is used to include scripts from other pages in wiki. */
function mImportScript (page, site)
{
    if ( !site ) site = wgServer;
    page = page.replace(/^\[\[/, "").replace(/]]$/, "");
 
    importScriptURI ( site + wgScript + "?title=" + page + "&action=raw&ctype=text/javascript" );
}
 
 
mImportScript ("User:Mikimik/js/shared.js", "http://he.wikipedia.org");        /* importing shared.js */