你现在正在访问的是萌娘百科用于保存和管理图片、音频等媒体文件的子项目萌娘共享,想要回到萌娘百科,请使用浏览器上的返回按钮、或点击这里
MediaWiki:Gadget-site-lib.js
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/** * ------------------------------------------------------------------------- * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!! * ------------------------------------------------------------------------- */ var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/site-lib/MediaWiki:Gadget-site-lib.js|user=[[U:AnnAngela]]|co-authors=[[U:Bhsd]]、GH:github-actions[bot]|longId=bf83eaea8eb4d94405bdf6885ec072fec997dd56|shortId=bf83eaea|summary=ci: use eslint flat config (#400)|body=<nowiki>Co-authored-by: Bhsd <55071315+bhsd-harry📧users.noreply.github.com>↩Co-authored-by: github-actions[bot] <41898282+github-actions[bot]📧users.noreply.github.com></nowiki>}}'; /* <pre> */ "use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error: error }; } finally { try { if (r && !r.done && (m = i["return"])) m.call(i); } finally { if (e) throw e.error; } } return ar; }; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); }; window.wgUXS = function (wg, hans, hant, cn, tw, hk, sg, zh, mo, my) { var ret = { zh: zh || hans || hant || cn || tw || hk || sg || mo || my, "zh-hans": hans || cn || sg || my, "zh-hant": hant || tw || hk || mo, "zh-cn": cn || hans || sg || my, "zh-sg": sg || hans || cn || my, "zh-tw": tw || hant || hk || mo, "zh-hk": hk || hant || mo || tw, "zh-mo": mo || hant || hk || tw }; return ret[wg] || zh || hans || hant || cn || tw || hk || sg || mo || my; }; window.wgULS = function (hans, hant, cn, tw, hk, sg, zh, mo, my) { return window.wgUXS(mw.config.get("wgUserLanguage"), hans, hant, cn, tw, hk, sg, zh, mo, my); }; window.wgUVS = function (hans, hant, cn, tw, hk, sg, zh, mo, my) { return window.wgUXS(mw.config.get("wgUserVariant"), hans, hant, cn, tw, hk, sg, zh, mo, my); }; mw.log.deprecate(window, "addPortletLink", function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } return mw.util.addPortletLink.bind(mw.util).apply(void 0, __spreadArray([], __read(args), false)); }, "Use mw.util.addPortletLink() instead"); mw.log.deprecate(window, "getURLParamValue", function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } return mw.util.getParamValue.bind(mw.util).apply(void 0, __spreadArray([], __read(args), false)); }, "Use mw.util.getParamValue() instead"); mw.log.deprecate(window, "hasClass", function (element, className) { return $(element).hasClass(className); }, "Use jQuery#hasClass instead"); mw.log.deprecate(window, "importScriptCallback", function (page, ready) { return libCachedCode.injectCachedCode("".concat(mw.config.get("wgServer")).concat(mw.config.get("wgScript"), "?title=").concat(mw.util.wikiUrlencode(page), "&action=raw&ctype=text/javascript"), "script").then(ready); }, "Use `await libCachedCode.injectCachedCode(page, \"script\")` instead"); mw.log.deprecate(window, "importScriptURICallback", function (page, ready) { return libCachedCode.injectCachedCode(page, "script").then(ready); }, "Use `await libCachedCode.injectCachedCode(page, \"script\")` instead"); /* </pre> */