打开/关闭搜索
搜索
打开/关闭菜单
notifications
打开/关闭个人菜单
查看“MediaWiki:Gadget-site-lib.js”的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
消息
讨论
更多操作
←
MediaWiki:Gadget-site-lib.js
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此JavaScript页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
"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 $.ajax({ url: "".concat(mw.config.get("wgServer")).concat(mw.config.get("wgScript"), "?title=").concat(mw.util.wikiUrlencode(page), "&action=raw&ctype=text/javascript"), dataType: "script", crossDomain: !0, cache: !0, success: ready }); }, "Use jQuery.ajax with dataType `script` instead"); mw.log.deprecate(window, "importScriptURICallback", function (page, ready) { return $.ajax({ url: page, dataType: "script", crossDomain: !0, cache: !0, success: ready }); }, "Use jQuery.ajax with dataType `script` instead");
返回
MediaWiki:Gadget-site-lib.js
。