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

אין תקציר עריכה
אין תקציר עריכה
שורה 107: שורה 107:
if (window.WLM !== 'unhide') hider();
if (window.WLM !== 'unhide') hider();
mw.loader.using('mediawiki.util').done( function() {  
mw.loader.using('mediawiki.util').done( function() {  
$( mw.util.addPortletLink('p-personal', '#', i18n('hideAll')) ).click(hider);
$( mw.util.addPortletLink('p-personal', '#', i18n('hideAll'), 'hideAll') ).click(hider);
$( mw.util.addPortletLink('p-personal', '#', i18n('showAll')) ).click(function() {
$( mw.util.addPortletLink('p-personal', '#', i18n('showAll'), 'showAll') ).click(function() {
$('[class*="mw-changeslist"]').show();
$('[class*="mw-changeslist"]').show();
} );
} );
} );
} );
}
}