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

אין תקציר עריכה
מ 27 גרסאות של הדף wikipedia:he:מדיה_ויקי:Gadget-purple.js יובאו
 
(9 גרסאות ביניים של משתמש אחר אחד אינן מוצגות)
שורה 1: שורה 1:
/* טיוטה */
/* טיוטה */


if (['ar', 'en', 'he'].includes(mw.config.get('wgUserLanguage')) {
if (['ar', 'en', 'he'].includes(mw.config.get('wgUserLanguage'))) {
$.get(mw.util.wikiScript(), {
$.get(mw.util.wikiScript(), {
        title: 'module:ערך לא קיים/רשימה.json',
        title: 'module:ערך לא קיים/רשימה.json',
שורה 14: שורה 14:
                        .text());
                        .text());
            })
            })
            .addClass('purple')
            .addClass('purple');
            .css({color: 'violet'});
            $('.purple:not(.new)')
            .removeClass('purple')
            .addClass('notpurple');
            $('.purple')
            .css({color: 'violet'});
if ($('#blue').length > 0) {
            ($('#blue'))
            .append($('.notpurple'));
            $('.notpurple')
            .wrap($('<li>'));
}
nodes = document.querySelectorAll('.mw-parser-output br');
nodes.forEach(function(node) {
if (node.nextSibling &&
    node.nextSibling.nodeType === 1 &&
    node.nextSibling.tagName === 'BR') {
    node.remove();
    }
});
    });
    });
}
}