MediaWiki:Gadget-FullwidthSearchFix.js:修订间差异
删除的内容 添加的内容
更新 FullwidthSearchFix:移除 ext.gadget.i18n 依赖,消息硬编码为简繁中文 |
无编辑摘要 |
||
| (未显示另一用户的1个中间版本) | |||
第27行:
//! src/FullwidthSearchFix/modules/redirect.ts
var import_ext_gadget2 = require("ext.gadget.Util");
//! src/FullwidthSearchFix/modules/i18n.ts
var import_ext_gadget = require("ext.gadget.i18n");
var getI18nMessages = () => {
return {
"Redirecting to":
ja: "「$1」にリダイレクト中",
"zh-hans": "正在重定向至
"zh-hant": "正在重新導向至“$1”"
})
};
};
第68行 ⟶ 第65行:
return;
}
const colonIndex = URL_SEARCH.indexOf("
if (colonIndex === -1) {
return;
| |||