Utente:Henrykus/monobook.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
sostituita document.write con mw.loader.load e importScript (v. discussione)
 
(4 versioni intermedie di 2 utenti non mostrate)
Riga 1:
//<pre>
 
// Elenco dei tool da caricare.
 
var toLoad="lrc purg led ns0 lks orol tabs nav stru unw allp tbar avan cwtch popup nms chat cmd qed wed since goo rch edt ver vpop vfol bot linkcomplete qdel";
 
 
 
//Monobook Modulare
//Lancia il vero monobook
// Vedi [[Wikipedia:Monobook.js/MonobookCompleto.js]]
//
document.writeln('<script type="text/javascript" src="/w/index.php?title=Wikipedia:Monobook.js/MonobookCompleto.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
 
Riga 28 ⟶ 15:
 
// FUNZIONE BASE PER GLI SCRIPT DI IPORK
mw.loader.load('//it.wikisource.org/w/index.php?title=Utente:IPork/controllo_versioni.js&action=raw&ctype=text/javascript');
function inc(file) {
document.write('<script type="text/javascript" src="/w/index.php?title='+ file +'&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
inc("s:Utente:IPork/controllo versioni.js");
var nomeutente= "HeNRyKus";
 
Riga 38 ⟶ 22:
 
 
incimportScript("Utente:HeNRyKus/indicatorestato.js");
incimportScript("Utente:HeNRyKus/statopersonale.js");