Module:Format link: Difference between revisions

Copied function removeInitialColon from Module:Hatnote
(Add missing "return p")
(Copied function removeInitialColon from Module:Hatnote)
Line 24:
mArguments = require('Module:Arguments')
return mArguments.getArgs(frame, {parentOnly = true})
end
 
local function removeInitialColon(s)
-- Removes the initial colon from a string, if present.
return s:match('^:?(.*)')
end
 
Anonymous user