Utilisateur:Quentinv57/vector.js
Remarque: après avoir sauvegardé, vous devez vider le cache de votre navigateur pour que les changements prennent effet. Mozilla, cliquez sur Actualiser (ou ctrl-r). Internet Explorer / Opera: ctrl-f5. Safari: cmd-r. Konqueror ctrl-r.
function importAnyScript(lang,family,script) {
//use importScriptURI with the full-qualified source, else importScript(); runs in the context of the remote wiki, finding nothing.
mw.loader.load('http://'
+ encodeURIComponent(lang) + '.'
+ encodeURIComponent(family) + '.org/w/index.php?title='
+ encodeURIComponent(script) + '&action=raw&ctype=text/javascript');
}
importAnyScript('meta','wikimedia','User:Pathoschild/Scripts/Ajax_sysop.js');
importAnyScript('meta','wikimedia','User:Mike.lifeguard/rangeContribs.js');