מדיה ויקי:Gadget-WLM.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
שחזור לגרסה 22273343 מאת IKhitron
שורה 571: שורה 571:
.prepend($('.gold-' + data)
.prepend($('.gold-' + data)
.clone(true, true)[0]));
.clone(true, true)[0]));
else
else {
api.get({
$('#newrevs')
action: 'query',
.append($('<span>', {
format: 'json',
text: ',' + langmark + ' '
list: 'watchlist',
})
indexpageids: 1,
.prepend($('<a>', {
wldir: 'newer',
text: newmap[data].title,
wllimit: 500,
href: 'https://he.wikipedia.org/w/index.php?title=' +
wlprop: 'title|ids|notificationtimestamp',
newmap[data].title +
wlshow: 'unread',
'&redirect=no&diff=cur&oldid=' + newmap[data].oldid,
wltype: 'edit|new',
target: '_blank'
wlstart: timestamp,
})
wlallrev: 1,
.click(function() {
errorformat: 'wikitext'
$(this)
}).done(function(newdata) {
.parent()
$('#newrevs')
.remove();
.append($('<span>', {
$('.yellowedit')
text: ',' + langmark + ' '
.hide();
})
$('body')
.prepend($('<a>', {
.trigger('script-88-pretend-clicked');
text: newmap[data].title,
})));
href: 'https://he.wikipedia.org/w/index.php?title=' +
}
newmap[data].title +
'&redirect=no&diff=cur&oldid=' + newmap[data].oldid,
target: '_blank'
})
.click(function() {
$(this)
.parent()
.remove();
$('.yellowedit')
.hide();
$('body')
.trigger('script-88-pretend-clicked');
})));
});
});
});
$('#newrevs')
$('#newrevs')