Module:User: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
7 revisions imported from wikipedia:Module:User
m (Protected Module:User: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
m (7 revisions imported from wikipedia:Module:User) |
||
(One intermediate revision by one other user not shown) | |||
Line 15:
local function validateArg(arg)
-- Validates one argument. Whitespace is stripped, and blank arguments
-- are treated as nil.
if not arg then
return nil
Line 21 ⟶ 23:
if arg ~= '' then
return arg
else
return nil
end
end
|