956
个编辑
Economy666(讨论 | 贡献) (添加缓存;优化fullVersionNum();支持特定文本不进行日文格式化) |
Economy666(讨论 | 贡献) 小 (修复剧情名义谱师跳转问题) |
||
第113行: | 第113行: | ||
local DL | local DL | ||
local function findDesigner(designerName) | local function findDesigner(designerName, songid) | ||
DL = DL or mw.loadJsonData 'Template:DesignersList.json' | DL = DL or mw.loadJsonData 'Template:DesignersList.json' | ||
local CDL = DL.complex | local CDL = DL.complex | ||
第170行: | 第170行: | ||
local designer = getMemory('designer', designerName) | local designer = getMemory('designer', designerName) | ||
if designer then return designer end | if designer then return designer end | ||
local designer = findDesigner(designerName) | local designer = findDesigner(designerName, songid) | ||
memory.designer[designerName] = designer | memory.designer[designerName] = designer | ||
return designer | return designer |
个编辑