מדיה ויקי:Gadget-WLM-draft.js: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 18: | שורה 18: | ||
var name = $this.closest('table').find('.mw-changeslist-title').text(); | var name = $this.closest('table').find('.mw-changeslist-title').text(); | ||
$this.closest('body').find('.mw-changeslist-line-watched').find('.mw-changeslist-title').filter(function(){ | $this.closest('body').find('.mw-changeslist-line-watched').find('.mw-changeslist-title').filter(function(){ | ||
$(this).before($('span', {text: diff})); | |||
var thediff = /diff=([0-9]+)/.exec($this.parent().find('a[href*="diff"]').prop('href'))[1]; | var thediff = /diff=([0-9]+)/.exec($this.parent().find('a[href*="diff"]').prop('href'))[1]; | ||
$(this).before($('span', {text: | $(this).before($('span', {text: "aaa"})); | ||
return $(this).text() == name && thediff < diff; | return $(this).text() == name && thediff < diff; | ||
}).addClass('yellowedit'); | }).addClass('yellowedit'); | ||