Utente:Jalo/monobook.js/test: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 633:
addPortletLink(navbar, httpsext + '/wiki/Wikipedia:Vandalismi_in_corso', 'Vandalismi in corso', '');
if (mustLoad("nav") || mustLoad("bot")) {
tryif {(typeof(nomeBot) != "undefined")
{
addPortletLink(navbar, '/wiki/Speciale:Contributi/' + nomeBot, 'Contributi ' + nomeBot, '');
}
catch(e)
{
// The variable botName doesn't exists!
}
}
Riga 936 ⟶ 933:
case "Recentchanges": mphkOffset = 1; break;
case "Watchlist": mphkOffset = 0; break;
case "Contributions": mphkOffset = 0; break;
default: return;
}
Riga 1 033 ⟶ 1 029:
 
/* Aggiorna la lista degli hotkeys */
if (wgAction=="edit")
addOnloadHook(function(){
// modifica gli hotkeys di default in base a quanto scelto dall'utente
Riga 1 127 ⟶ 1 124:
document.onmouseup = listenerMouseUp; //IE
}
if (wgAction=="edit")
addOnloadHook(catchHotkeys);
 
 
Riga 1 135 ⟶ 1 133:
 
//Importa la toolbar
if (wgAction=="edit")
importScript("Wikipedia:Monobook.js/MonobookCompleto.js/Vector/Toolbar.js");
 
 
Riga 1 159 ⟶ 1 158:
if (mustLoad("nms"))
document.writeln('<script type="text/javascript" src="/w/index.php?title=Wikipedia:Monobook.js/namespaceSearch.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// </nowiki></pre>
 
// script "Popup di navigazione"<br/>
// Vedi [[:en:User:Lupin/popups.js]] di [[:en:User:Lupin|Lupin]]
// <pre><nowiki>
if (mustLoad("popup"))
document.write('<script type="text/javascript" src="'
+ 'http://it.wikipedia.org/w/index.php?title=Wikipedia:Monobook.js/strings-it.js'
+ '&action=raw&ctype=text/javascript"></script>');
 
if (mustLoad("popup"))
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// </nowiki></pre>
 
Riga 1 252 ⟶ 1 237:
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
 
// script "Popup di navigazione"<br/>
// Vedi [[:en:User:Lupin/popups.js]] di [[:en:User:Lupin|Lupin]]
// <pre><nowiki>
if (mustLoad("popup"))
document.write('<script type="text/javascript" src="'
+ 'http://it.wikipedia.org/w/index.php?title=Wikipedia:Monobook.js/strings-it.js'
+ '&action=raw&ctype=text/javascript"></script>');
 
if (mustLoad("popup"))
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// </nowiki></pre>
 
// Script di Link Complete