MediaWiki:Gadget-Live2dGirl.js:修订间差异

H萌娘,万物皆可H的百科全书!
跳到导航 跳到搜索
imported>=海豚=
无编辑摘要
imported>=海豚=
([InPageEdit] 没有编辑摘要)
第1行: 第1行:
// 原始代码:https://github.com/stevenjoezhang/live2d-widget
// 原始代码:https://github.com/stevenjoezhang/live2d-widget
// WIKI兼容设计:850710247liu
// WIKI兼容设计:850710247liu
if (mw.config.values.wgAction == "view","history"){
if (mw.config.values.wgAction == "view" || mw.config.values.wgAction == "history"){
    mw.loader.load('/index.php?title=User:=海豚=/js/Live2dGirl.js&action=raw&ctype=text/javascript');
    mw.loader.load('/index.php?title=User:=海豚=/js/Live2dGirl.js&action=raw&ctype=text/javascript');
}
}

2021年5月16日 (日) 09:37的版本

// 原始代码:https://github.com/stevenjoezhang/live2d-widget
// WIKI兼容设计:850710247liu
if (mw.config.values.wgAction == "view" || mw.config.values.wgAction == "history"){
    mw.loader.load('/index.php?title=User:=海豚=/js/Live2dGirl.js&action=raw&ctype=text/javascript');
}