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

הסתרת "העדפות" בגאדג'ט - הן לא עובדות כאן, בגלל שהן תלויות בעוד כל מיני בוקי סריקי מקומונז שלא ייבאנו.
מ 111 גרסאות של הדף wikipedia:he:מדיה_ויקי:Gadget-Cat-a-lot.js יובאו
 
(5 גרסאות ביניים של 3 משתמשים אינן מוצגות)
שורה 1: שורה 1:
if ( mw.config.get( 'wgNamespaceNumber') == 14 ) {
if ( mw.config.get( 'wgNamespaceNumber') == 14 ) {
window.catALotPrefs = {editpages:  true};
window.catALotPrefs = { editpages:  true, subcatcount: 500 };
mw.loader.using(['jquery.ui.resizable', 'mediawiki.util', 'jquery.mwExtension']).done(function(){
mw.loader.using(['jquery.ui', 'mediawiki.util']).done(function(){
mw.util.addCSS("#cat_a_lot { left: inherit !important; }"); // for some reason, cat-a-lot from commons has a quirk with RLT, and this fixes it
mw.util.addCSS("#cat_a_lot { left: inherit !important; }"); // for some reason, cat-a-lot from commons has a quirk with RLT, and this fixes it
mw.util.addCSS("#cat_a_lot_settings { display:none !important;}"); // preferences depend on some other gadgets,not available on hewiki, so hide linkette
mw.util.addCSS("#cat_a_lot_settings { display:none !important;}"); // preferences depend on some other gadgets,not available on hewiki, so hide linkette