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

אין תקציר עריכה
אין תקציר עריכה
שורה 25: שורה 25:
thediff = thediff.match(/.*diff=([0-9]+).*oldid.*/);
thediff = thediff.match(/.*diff=([0-9]+).*oldid.*/);
  return thediff && $(this).text() == name && thediff[1] < diff;
  return thediff && $(this).text() == name && thediff[1] < diff;
}).closest('.mw-changeslist-line-watched');
}).closest('.mw-changeslist-line-watched').show();
prevs.removeClass('blueedit').addClass('yellowedit').removeClass('mw-changeslist-line-watched')
prevs.removeClass('blueedit').addClass('yellowedit').removeClass('mw-changeslist-line-watched')
.addClass('mw-changeslist-line-not-watched').find('.mark-all-edits').remove();
.addClass('mw-changeslist-line-not-watched').find('.mark-all-edits').remove();
שורה 58: שורה 58:
thediff = thediff.match(/.*diff=([0-9]+).*oldid.*/);
thediff = thediff.match(/.*diff=([0-9]+).*oldid.*/);
  return thediff && $(this).text() == name && thediff[1] > diff;
  return thediff && $(this).text() == name && thediff[1] > diff;
}).closest('.mw-changeslist-line-not-watched');
}).closest('.mw-changeslist-line-not-watched').show();
prevs.removeClass('yellowedit').addClass('blueedit').removeClass('mw-changeslist-line-not-watched')
prevs.removeClass('yellowedit').addClass('blueedit').removeClass('mw-changeslist-line-not-watched')
.addClass('mw-changeslist-line-watched').find('.unmark-edits').remove();
.addClass('mw-changeslist-line-watched').find('.unmark-edits').remove();