Module:Annotated link: Difference between revisions

Content deleted Content added
specific pattern for first case sensitive char
sleepy now
Line 15:
end )
if case_altered_short_description ~= short_description then
mw.log( 'tracking categories rule' )
end
return case_altered_short_description
Line 28:
local name = args.name
if not name then
return '<span style="color:red">ERROR with invocation of [[Module:GetShortDescription]]: a page title mustMUST be provided</span>'
end
Line 38:
local case = args.case
local aka = args.aka
--[[
handling for:
category links
template links
modile links
file links
etc. etc.
all the namespaces \o/
"but shord escs should only be on..."
<insert image of batman slapping Robin here>
--]]
local result = '[[' .. name
Line 78 ⟶ 95:
local args = getArgs( frame.args )
if not args then
return '<span style="color:red">ERROR with invocation of [[Module:AnnotatedLink]]: ALL the things are broken!</span>'
return 'something is severely wrong with this module; send help'
end
return annotatedLink( args )