Module:Message box: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
add a template link when generating the subst error message
make invalid type errors depend on cfg.showInvalidTypeError
வரிசை 170:
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeinvalidTypeError = cfg.showInvalidTypeError and self.type and not typeData and true or false
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
வரிசை 384:
 
-- Categories for all namespaces.
if self.invalidTypeinvalidTypeError then
local allSort = (nsid == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
வரிசை 504:
 
-- Add error message for invalid type parameters.
if self.invalidTypeinvalidTypeError then
root
.tag('div')
"https://tamilar.wiki/w/Module:Message_box" இலிருந்து மீள்விக்கப்பட்டது