Користувач:Innv/monobook.js: відмінності між версіями
Вилучено вміст Додано вміст
Innv (обговорення | внесок) + код |
(Немає відмінностей)
|
Версія за 10:41, 27 січня 2010
function importAnyScript(lang,family,script) {
//use importScriptURI with the full-qualified source, else importScript(); runs in the context of the remote wiki, finding nothing.
importScriptURI('http://'
+ encodeURIComponent(lang) + '.'
+ encodeURIComponent(family) + '.org/w/index.php?title='
+ encodeURIComponent(script) + '&action=raw&ctype=text/javascript');
}
importAnyScript('meta','wikimedia','User:Mike.lifeguard/remote.js');