MediaWiki:Minerva.js:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
无编辑摘要
标签移动版编辑 移动版网页编辑
无编辑摘要
标签移动版编辑 移动版网页编辑
 
第1行: 第1行:
/* 这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载 */
/* 这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载 */
secondChild.css("top", "".concat((maxHeight - secondChildHeight) / 2, "px"));
otherChild.css("top", "".concat(Math.ceil(maxHeight), "px"));
setTimeout(function () {
all.removeClass("animation");
firstChild.appendTo(self).css("top", Math.ceil(maxHeight));
}, 400);
});
}
}, 5000);
}


/* All JavaScript here will be loaded for users of the MinervaNeue skin */
$(function () {
$(function () {
startScroll();
    // T111565
autoScroll();
    var $collapsibles = $('.mw-collapsible');
 
    if ($collapsibles.length) {
// T111565
        mw.loader.using('jquery.makeCollapsible').then(function() {
var $collapsibles = $('.mw-collapsible');
            $collapsibles.makeCollapsible();
if ($collapsibles.length) {
        });
mw.loader.using('jquery.makeCollapsible').then(function() {
    }
$collapsibles.makeCollapsible();
});
}
});
});

2025年1月4日 (六) 02:59的最新版本

/* 这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载 */

/* All JavaScript here will be loaded for users of the MinervaNeue skin */
$(function () {
    // T111565
    var $collapsibles = $('.mw-collapsible');
    if ($collapsibles.length) {
        mw.loader.using('jquery.makeCollapsible').then(function() {
            $collapsibles.makeCollapsible();
        });
    }
});