Utente:Jalo/monobook.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 801:
latesttime=new String(latesttime);
temp=""+new Number(latesttime.substr(6,2))+" "+monthname[latesttime.substr(4,2)]+" "+latesttime.substr(0,4);
i=a.length;
Riga 810 ⟶ 807:
if(a[i].innerHTML==temp)
{
temp=a[i].nextSibling.firstChild;
while(temp!=null)
{
▲ if(temp.tagName!=null)
if(temp.tagName.toLowerCase()=="li")
{
temp2=temp.innerHTML.match(/; ([0-9][0-9]):([0-9][0-9]) \. \./);
temp2=new Number(temp2[1])*100+new Number(temp2[2]);
Riga 831 ⟶ 821:
if(temp==null) {alert("I'm breaking 2"); break};
}
temp=document.createElement("li");
if (temp2!=null)▼
a[i].nextSibling.insertBefore(temp,temp2);
else
▲if (temp2!=null)
a[i].
temp.innerHTML="(diff) (hist) . . <a href='http://it.wikipedia.org/wiki/Categoria:"+encodeURI(c)+
"'>Category:"+c+"</a>; "+latesttime.substr(8,2)+":"+latesttime.substr(10,2)+" . . (+ "+
Riga 845 ⟶ 832:
"(<a href='http://it.wikipedia.org/w/index.php?title="+encodeURI(latestpage)+
"&diff=last'>last</a>))";
return;
}
|