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

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 250:
pulsantiImmagine["tra"] = 'http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_templatelink.png';
pulsantiHotkey["tra"] = 'T';
 
//NN
pulsantiDescr["nn"] = "NN";
pulsantiComando["nn"] = 'javascript:Ficus("NN");';
pulsantiImmagine["nn"] = 'http://upload.wikimedia.org/wikipedia/commons/5/54/Button_naissance.png';
pulsantiHotkey["nn"] = '';
 
//AVVISO DA UNIRE
Riga 404 ⟶ 410:
pulsantiDescr["unv"] = "Unverified";
pulsantiComando["unv"] = 'javascript:addTextAtCursor(curled("Unverified|giorno="+curled("subst:CURRENTDAY")+"|mese="+curled("subst:CURRENTMONTHNAME")+"|anno="+curled("subst:CURRENTYEAR")), "+Unverified ","",101)';
pulsantiImmagine["unv"] = 'http://upload.wikimedia.org/wikipedia/itcommons/e/e8/Pulsante_unverified.png';
pulsantiHotkey["unv"] = 'V';
 
Riga 1 167 ⟶ 1 173:
else
aggiungiTesto("{{T|lingua="+Lingua+"|data={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}", "+Da tradurre ", 0);
var summary = "";
}
else if (TemplatecurTemplate == "FNN")
{
Argument = $('argomento').value;
Commento = $('commento').value;
aggiungiTesto("{{NN|"+Argument+"|{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}|+"Commento+"}}", "+NN ", 0);
var summary = "";
}
Riga 1 650 ⟶ 1 664:
categoria = "Categoria:Da tradurre per argomento";
skip = "Categoria:Da tradurre -";
break;
case "NN":
categoria = "Categoria:Voci con fonti non contestualizzate per argomento";
skip = "Categoria:Voci con fonti non contestualizzate -";
break;
case "P":
Riga 1 814 ⟶ 1 832:
Greeter = 'Hai richiesto di inserire questa pagina nella Categoria <span style="font-weight: bold">"Da tradurre"</span>.<br/>' +
' Per favore scegli la lingua d\'origine ed un argomento dalle liste.';
break;
case "NN":
Greeter = 'Hai richiesto di inserire questa pagina nella Categoria <span style="font-weight: bold">"Voci con fonti non contestualizzate"</span>.<br/>' +
' Per favore scegli un argomento dalla lista ed inserisci un eventuale commento.';
break;
case "Da unire":
Riga 2 067 ⟶ 2 089:
{
addLabel("Motivazione:");
addTextbox('editReason', 'motivo');
}
 
// crea casella di testo "Eventuale commento:"
if (Template == "F")
{
addLabel("Eventuale commento:");
addTextbox('editReason', 'motivo');
}
Riga 2 088 ⟶ 2 103:
Template == "O" ||
Template == "T" ||
Template == "NN" ||
Template == "Controlcopy" ||
Template == "Incorso" ||
Riga 2 104 ⟶ 2 120:
}
addSelect('popupSelect', 'argomento', arrayArgument);
}
 
// crea casella di testo "Eventuale commento:"
if (Template == "F" ||
Template == "NN" )
{
addLabel("Eventuale commento:");
addTextbox('editReason', 'motivo');
}
 
Riga 2 146 ⟶ 2 170:
}
 
arrayScelteLivello = new Array(" ", "A", "B", "C", "D", "X");
// crea casella di testo "Accuratezza:"
Riga 2 733 ⟶ 2 757:
if (mustLoad("stru") || mustLoad("uec"))
{
addPortletLink(tb, 'http://stable.toolserver.org/editcount~soxred93/resultcount/index.php?usernamename=' + wgUserName + '&projectnamelang=itwikiit&showgraphswiki=2dwikipedia', 'Edit count (' + wgUserName + ')', '');
 
var cur_user = "";
Riga 2 743 ⟶ 2 767:
if (cur_user != "") //Se siamo in una pagina/sottopagina della pagina utente/discussione
{
addPortletLink(tb, 'http://stable.toolserver.org/editcount~soxred93/resultcount/index.php?usernamename=' + cur_user + '&projectnamelang=itwikiit&showgraphswiki=2dwikipedia', 'Edit count (' + cur_user + ')', '');
 
addPortletLink(tb, 'http://tools.wikimedia.de/~luxo/contributions/contributions.php?user=' + cur_user + '&lang=it', 'Contributi interprogetto (' + cur_user + ')', '');
Riga 3 270 ⟶ 3 294:
{
addToTendina(0,'T','','{{T}}radurre',0);
}
 
// pulsante NN
if (mustLoad("tbar") || mustLoad("nn"))
{
if(document.title.indexOf("Discussioni utente") == -1 )
{
addToolbarButton('tb-nn', pulsantiComando["nn"], pulsantiImmagine["nn"], '[nn]', pulsantiDescr["nn"] +' "nn"'+((pulsantiHotkey["nn"] != '')?' [Alt+'+pulsantiHotkey["nn"]+']':''));
qualcosa="si";
}
}
else if(document.title.indexOf("Discussioni utente") == -1 )
{
addToTendina(0,'NN','','{{NN}}',0);
}
 
Riga 4 510 ⟶ 4 548:
{
document.write('<script type="text/javascript" src="' +
'http://it.wikipedia.org/w/index.php?title=UtenteWikipedia:JaloMonobook.js/SandboxLiveRC.js' +
'&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}