Wikipedia:Monobook.js/LiveRC.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
tolgo link 'segna come verificata', non funziona più
m fix bug (pagine con "&" nel titolo)
Riga 382:
document.getElementById('LiveRevertMessage').disabled = true;
var message = document.getElementById('LiveRevertMessage').value;
wpajax.http({ url: wgServer + wgScriptPath + '/index.php?title=' + encodeURIencodeURIComponent(page) + '&action=edit&oldid=' + oldid,
onSuccess: postLiveRevert,
where: where, page: page, user1: user1, user2: user2, message: message });
Riga 1 026:
{
hist = '<a href="javascript:;" onClick="liveHist(\''+diffEscTitle+'\');" style="color:darkorange">C</a>';
edit = '<a href="' + wgServer + wgScriptPath + '/index.php?title='+encodeURIencodeURIComponent(title)+'&action=edit" target="_new" style="color:tomato">M</a>';
livelogs = '<a href="javascript:;" onClick="liveLog(\'\',\''+escTitle+'\');" style="color:hotpink">L</a>';
 
if (lrcAdmin == true) {
admin = ' • <a href="' + wgServer + wgScriptPath + '/index.php?title='+encodeURIencodeURIComponent(title)+'&action=delete" target="_new" style="color:orangered">S</a>';
 
admin += ' • <a href="' + wgServer + wgScriptPath + '/index.php?title='+encodeURIencodeURIComponent(title)+'&action=protect" target="_new" style="color: coral">P</a>';
}
}