跳转到内容

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

wzh>Xiplus
wzh>Xiplus (Xiplus已移動頁面User:Diskdance/public/HanAssist-noshim.jsMediaWiki:Gadget-HanAssist.js,不留重新導向:​per VPT
 
Lakejason0
Lakejason0留言 | 贡献 (导入1个版本:​导入HanAssist)
(没有差异)

2023年5月14日 (日) 10:41的版本

/**!
 * _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * |   Please discuss changes on the talk page or on [[WP:VPT]] before editing.  |
 * |_____________________________________________________________________________|
 *
 * Built from source code at HanAssist GitHub repository [https://github.com/diskdance/HanAssist].
 * All changes should be made in the repository, otherwise they will be lost.
 *
 * To update this script from GitHub, you must have a local repository set up. Then
 * follow the instructions at [https://github.com/diskdance/HanAssist/blob/main/CONTRIBUTING.MD].
 *
 * For license information, see [https://github.com/diskdance/HanAssist/blob/main/LICENSE].
 */
// <nowiki>
!function(){"use strict";var n={d:function(t,r){for(var o in r)n.o(r,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)}},t={};function r(n){try{return null==n?"":String(n)}catch(t){return Object.prototype.toString.call(n)}}n.d(t,{HanAssist:function(){return i}});var o=["other","zh","hans","hant","cn","tw","hk","sg","mo","my"],e={zh:["zh","hans","hant","cn","tw","hk","sg","mo","my","other"],"zh-hans":["hans","cn","sg","my","zh","hant","tw","hk","mo","other"],"zh-hant":["hant","tw","hk","mo","zh","hans","cn","sg","my","other"],"zh-cn":["cn","hans","sg","my","zh","hant","tw","hk","mo","other"],"zh-sg":["sg","hans","cn","my","zh","hant","tw","hk","mo","other"],"zh-my":["my","hans","cn","sg","zh","hant","tw","hk","mo","other"],"zh-tw":["tw","hant","hk","mo","zh","hans","cn","sg","my","other"],"zh-hk":["hk","hant","mo","tw","zh","hans","cn","sg","my","other"],"zh-mo":["mo","hant","hk","tw","zh","hans","cn","sg","my","other"]};function h(n,t){try{var h=function(n,t){for(var r=0,h=e[t]||o;r<h.length;r++){var a=n[h[r]];if(null!=a)return a}throw new Error("Cannot find message!")}(n,t);return r(h)}catch(n){return""}}function a(n,t){return function(n){if(!$.isPlainObject(n))throw new TypeError("Require an object!")}(n),h(n,t)}var i={parse:function(n,t){var o=(void 0===t?{}:t).locale,e=void 0===o?mw.config.get("wgUserLanguage"):o;if(!$.isPlainObject(n))throw new TypeError("Require an object!");var a=Object.create(null);for(var i in n){var s=n[i];$.isPlainObject(s)?a[i]=h(s,e):a[i]=r(s)}return a},localize:function(n,t){var r=(void 0===t?{}:t).locale;return a(n,void 0===r?mw.config.get("wgUserLanguage"):r)},vary:function(n){return a(n,mw.config.get("wgUserVariant")||mw.user.options.get("variant"))}};((window.mw=window.mw||{}).libs=window.mw.libs||{}).HanAssist=t.HanAssist}();
// </nowiki>
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。