Utente:Senpai/monobook/recent2.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
ok
proviamo
Riga 94:
recent2.getWatchlist=function() {
window.gettingWatchlist=true;
recent2.download({url: 'http://' + document.___location.hostname + '/wiki/SpecialSpeciale:Watchlist/edit',
onSuccess: recent2.processWatchlist, onFailure: function () { setTimeout(getWatchlist, 15000); return true; }});
}
Riga 134:
 
 
var feed='http://' + document.___location.hostname + '/w/index.php?title=SpecialSpeciale:Recentchanges&feed=rss';
 
window.newOutputDiv=function(klass, position, immortal) {
Riga 217:
recent2.delayedLines={};
recent2.delay=0;
recent2.namespaces={'Media':1, "SpecialSpeciale":1, "UserUtente":1, "UserDiscussione talkutente":1, "Wikipedia":1,
"WikipediaDiscussione talkwikipedia":1, "ImageImmagine":1, "ImageDiscussione talkimmagine":1, "MediaWiki":1,
"Discussione MediaWiki talk":1, "Template":1, "Template talk":1, "HelpAiuto":1,
"HelpDiscussione talkaiuto":1, "CategoryCategoria":1, "CategoryDiscussione talkcategoria":1, "PortalPortale":1, "PortalDiscussione talkportale":1, "Progetto":1, "Discussione progetto":1};
window.processRecentChanges=function(req, bundle){
var initialId=processRecentChanges.id;
Riga 434:
' ' + linkmaker(bundle.article, bundle.articleTitle) +
( bundle.badWord ? ' matched <b>' + bundle.badWord + '</b> . . ' : ' . . ') +
linkmaker(wikiBase + 'UserUtente:' + bundle.editor, bundle.editor) + ' (' +
linkmaker(wikiBase + 'User_talkDiscussione utente:' + bundle.editor, 'talk') + ' | ' +
linkmaker(wikiBase + 'User_talkDiscussione utente:' + bundle.editor + '?action=edit' +
'&autoedit=s#$#\\n{{sub'+'st:test1-n|' + bundle.articleTitle +
'}}%20~~' + '~~#&autosummary=Your%20recent%20edits',
'warn') + ' | ' +
linkmaker(wikiBase + 'SpecialSpeciale:Contributions/' + bundle.editor, 'contribs') + ' | ' +
linkmaker(wikiBase + 'SpecialSpeciale:BlockipIpblocklist/' + bundle.editor, 'block') + ') . . ' +
( bundle.summary ? '<i>('+bundle.summary+')</i> . . ' : '') +
'<a href="javascript:showHideDetail(' + bundle.id + ')" id="showdiff_link_' + bundle.id + '">show details</a>' +
Riga 584:
var prevEditor=edits[i]['user'];
var prevRev=edits[i]['revid'];
var summary='Reverted edits by [[SpecialSpeciale:Contributions/' + escape(bundle.editor) + '|' +
escape(bundle.editor) + ']] to last version by ' + escape(prevEditor);
summary=summary.split(' ').join('%20');