Utente:Olando/monobook.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m fix |
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879) |
||
(4 versioni intermedie di 3 utenti non mostrate) | |||
Riga 1:
// <pre>
var myButtons = new Array([1,'{{subst:Loggati|{{subst:PAGENAME}}|Utente}}--~~~~','1','Loggati',0,'Loggati!']);
var nomeBot = 'Olandobot';
/**** Aggiunge i link nel portlet "navigazione" ****/
mw.loader.using( 'mediawiki.util' )
.then( function () {
} );
▲addlilink(navbar, '/wiki/Categoria:Categoria da definire', 'Da categorizzare', '');
//</pre>
//<pre>
Riga 34 ⟶ 17:
var BlackOrWhite = "";
if ((/Firefox|Netscape|Mozilla/).test( navigator.userAgent ) === false)
return; // Funziona solo con browser della famiglia Firefox
Riga 352 ⟶ 335:
scritta="abilitato";
$.cookie('wikiVFOL', "abilitato", {expires: cookieExpire, path: '/'});
mw.loader.using( 'mediawiki.util' )
.then( function () {
} );
▲ addlilink(tb, 'javascript:ModificaListaVFOL("Black")', 'Mostra la Black List', 'vfol2');
}
Riga 396 ⟶ 379:
// e chiudi tutto
}
Riga 428 ⟶ 411:
var a = document.createElement('a');
a.appendChild(document.createTextNode('Close'));
$(a).on('click', function() { $('#WBListPopupDiv').remove(); } );
a.style.margin = '8px';
Riga 468 ⟶ 452:
button2.type = 'button';
button2.style.margin = '8px';
$(button2).
p.appendChild(button2);
Riga 484 ⟶ 468:
}
// [[:en:User:Lupin/popups.js]]
|