Module:Navbox: Difference between revisions
no edit summary
(base cp from rsw) |
No edit summary |
||
Line 172:
-- local linkrep = mw.ustring.gsub(link,'([%%%]%[%-^$*()+?])','%%%1')
-- local _link = mw.ustring.gsub(link,' ','_')
-- local newfile = mw.ustring.gsub(v,'|link='..linkrep,string.format('|link=https://
-- local w = mw.ustring.gsub(v,'([%%%]%[%-^$*()+?])','%%%1')
-- group2 = mw.ustring.gsub(group2,w,newfile)
Line 189:
-- else
-- local _link = mw.ustring.gsub(link or '',' ','_')
-- newlink = string.format('[https://
-- end
-- local w = mw.ustring.gsub(v,'([%%%]%[%-^$*()+?])','%%%1')
Line 201:
-- group3 = group2
-- for v in mw.ustring.gmatch(group2,'%[https://
-- local rep = mw.ustring.gsub(v,'%]','')
-- rep = rep..']'
|