Module:Redirect hatnote:修订间差异

删除的内容 添加的内容
拉取适配 zhwiki hatnote 体系模块(原版,仅适配 Wikipedia 链接)
 
去除繁简转换(统一简体)
 
第64行:
local formattedRedirect = {}
for k,v in pairs(redirect) do
formattedRedirect[k] = mHatnote.quote('<b>-{zh;zh-hans;zh-hant;|' .. v .. '}-</b>')
end
local image = '[[File:Disambig gray.svg|25px|class=noviewer hatnote-notice-img|alt=]]'
local text = {
mHatList.andList(formattedRedirect) .. (#redirect == 1 and '' or '均') .. '-{zh-cn:重定向; zh-tw:重新導向;}-至此。',
mHatList._forSee(args, #redirect + 1, {title = redirect[1], extratext = args.text})
}