Jump to content

Module:Link: Difference between revisions

27 bytes added ,  17 April 2020
no edit summary
No edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 2: Line 2:


function str.producer( content )
function str.producer( content )
if content == '' then
-- if content == '' then
return content
-- return content
end
-- end


for _i, subject in ipairs({ 'Billy Corgan', 'Butch Vig' }) do
-- for _i, subject in ipairs({ 'Billy Corgan', 'Butch Vig' }) do
mw.ustring.gsub( subject, subject, '[[:Category:Songs produced by ' .. subject .. '|' .. subject .. ']]' )
-- mw.ustring.gsub( content, subject, '[[:Category:Songs produced by ' .. subject .. '|' .. subject .. ']]' )
end
-- end


return content
return content .. 'foo'
end
end


return str
return str