מדיה ויקי:Gadget-WLM.js: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 85: | שורה 85: | ||
var flowedits = $('.mw-changeslist-line-watched a.mw-title'); | var flowedits = $('.mw-changeslist-line-watched a.mw-title'); | ||
flowedits.before( | flowedits.before( | ||
$('<a>', {text: '📖', title: 'סימון כעריכה שנקראה', href: '#nw', class: "mark-all-flow-edits"}) | $('<a>', {text: '#📖', title: 'סימון כעריכה שנקראה', href: '#nw', class: "mark-all-flow-edits"}) | ||
.css({marginLeft: '0.3em', marginRight: '0.1em', color: '#990066', "font-size": iconsize}) | .css({marginLeft: '0.3em', marginRight: '0.1em', color: '#990066', "font-size": iconsize}) | ||
.click(function() { | .click(function() { | ||
| שורה 100: | שורה 100: | ||
return $(this).closest('.mw-changeslist-line-not-watched').find('a[href*="diff"]').length <= 0 | return $(this).closest('.mw-changeslist-line-not-watched').find('a[href*="diff"]').length <= 0 | ||
&& $(this).closest('.mw-changeslist-line-not-watched').find('a[href*="fromnotif"]').length <= 0; | && $(this).closest('.mw-changeslist-line-not-watched').find('a[href*="fromnotif"]').length <= 0; | ||
}).prev() | }).prev().remove(); | ||
mw.loader.using('mediawiki.util').done( function() { | mw.loader.using('mediawiki.util').done( function() { | ||
$( mw.util.addPortletLink('p-personal', '#', 'הסתרת עריכות שנקראו') ).click(function() { | $( mw.util.addPortletLink('p-personal', '#', 'הסתרת עריכות שנקראו') ).click(function() { | ||