Module:Error and Module:Error/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Ahecht
allow accessing from other modules
 
imported>Ahecht
:cssText(args.style)
 
Line 3: Line 3:
local p = {}
local p = {}


function p._error(args)
local function _error(args)
     local tag = mw.ustring.lower(tostring(args.tag))
     local tag = mw.ustring.lower(tostring(args.tag))


Line 35: Line 35:
         args.message = nil
         args.message = nil
     end
     end
     return p._error(args)
     return _error(args)
end
end


return p
return p