Module:Message box: Difference between revisions

Jump to navigation Jump to search
change a couple of "name" variables to "self.name"
(replace remaining "title" variables with "self.title")
(change a couple of "name" variables to "self.name")
Line 211:
if self.useCollapsibleTextFields then
self.name = args.name
local nameTitle = getTitleObject(self.name)
self.isTemplatePage = nameTitle and self.title.prefixedText == ('Template:' .. nameTitle.text) and true or false
 
Line 363:
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif type(self.name) == 'string' and self.title.prefixedText == ('Template:' .. self.name) then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu