Module:Link: Difference between revisions
MusikAnimal (talk | contribs) (Created page with "local str = {} function str.producer( content ) for subject in {'Billy Corgan', 'Butch Vig'} do mw.ustring.gsub( content, subject, '[[:Category:Songs produced by ' .. subj...") |
MusikAnimal (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
function str.producer( content ) | function str.producer( content ) | ||
if content == '' then | |||
return content | |||
end | |||
for subject in {'Billy Corgan', 'Butch Vig'} do | for subject in {'Billy Corgan', 'Butch Vig'} do | ||
mw.ustring.gsub( content, subject, '[[:Category:Songs produced by ' .. subject .. '|' .. subject .. ']]' ) | mw.ustring.gsub( content, subject, '[[:Category:Songs produced by ' .. subject .. '|' .. subject .. ']]' ) |
Revision as of 21:11, 17 April 2020
Documentation for this module may be created at Module:Link/doc