1,078
个编辑
AltracasysHC(留言 | 贡献) 小无编辑摘要 |
AltracasysHC(留言 | 贡献) 小 (fix和sect代码矫正) |
||
第238行: | 第238行: | ||
table.insert(issues, issue) | table.insert(issues, issue) | ||
table.insert(issues, text) | table.insert(issues, text) | ||
self.issue = table.concat(issues | self.issue = table.concat(issues) | ||
end | end | ||
第291行: | 第291行: | ||
-- Get other values. | -- Get other values. | ||
local date | local date | ||
if args.date and args.date ~= '' then | if args.date and args.date ~= '' then | ||
date = args.date | date = args.date | ||
elseif args. | elseif args.time == '' and self.isTemplatePage then | ||
date = lang:formatDate(' | date = lang:formatDate('Y年n月j日') | ||
elseif args.time and args.time ~= '' then | |||
date = lang:formatDate('Y年n月j日', args.time) | |||
end | |||
if date then | |||
local ok, tempdate = pcall(lang.formatDate, lang, 'Y年n月j日', date) | |||
if ok then | |||
date = tempdate | |||
end | |||
end | end | ||
if date then | if date then | ||
self.date = string.format(" <small class='date-container'>''(<span class='date'>%s</span>)''</small>", date) | self.date = string.format(" <small class='date-container'>''(<span class='date'>%s</span>)''</small>", date) | ||
end | |||
if args.fix and args.fix ~= '' then | |||
self.fix = format("<br /><small>%s</small>", args.fix) | |||
else | |||
self.fix = '' | |||
end | end | ||
self.info = args.info | self.info = args.info |