跳至內容

「模組:Message box」:修訂間差異

大小無變化 、​ 2022年10月21日 (星期五)
無編輯摘要
imported>DC
無編輯摘要
imported>DC
無編輯摘要
 
第433行: 第433行:
catTitle = getTitleObject('Category:' .. catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
if not catTitle or not catTitle.exists then
self:addCat('main', '模板中使用无效日期参数的条目')
self:addCat('main', '模板中使用無效日期參數的條目')
end
end
elseif mainCat and (not date or date == '') then
elseif mainCat and (not date or date == '') then
第484行: 第484行:
if self.invalidTypeError then
if self.invalidTypeError then
local allSort = (self.nsid == 0 and 'Main:' or '') .. self.title.prefixedText
local allSort = (self.nsid == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', '需要修复的信息框', allSort)
self:addCat('all', '需要修復的信息框', allSort)
end
end
if self.isSubstituted then
if self.isSubstituted then
匿名用戶