MediaWiki:Mobile.js:修订间差异

来自肖彦锐之家
(创建页面,内容为“→‎这里的任何JavaScript将为使用移动版网站的用户加载:​ →‎由[[esg:用户:耀武扬威]]复制自萌百Mobile.js:​ //Template:隐藏 if ($('.mw-collapsible')[0]) mw.loader.using('jquery.makeCollapsible').then(function () { //console.debug('jquery.makeCollapsible is loaded.'); $('.mw-collapsible').makeCollapsible(); });”
(没有差异)

2024年4月10日 (三) 22:46的版本

/* 这里的任何JavaScript将为使用移动版网站的用户加载 */
/* 由[[esg:用户:耀武扬威]]复制自萌百Mobile.js */
//Template:隐藏
if ($('.mw-collapsible')[0]) mw.loader.using('jquery.makeCollapsible').then(function () {
    //console.debug('jquery.makeCollapsible is loaded.');
    $('.mw-collapsible').makeCollapsible();
});