Module:Redirect: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(Trying a bracket option after all. But only if chosen) |
(duh) |
||
Line 13: | Line 13: | ||
if mw.ustring.gsub(rname,"%s","") == "" then return "" end |
if mw.ustring.gsub(rname,"%s","") == "" then return "" end |
||
if bracket then |
if bracket then |
||
local strip=mw.ustring. |
local strip=mw.ustring.gmatch(rname,"%[%[(.+)%]%]") |
||
if strip then rname=strip;bb="[[";be="]]" end |
if strip then rname=strip;bb="[[";be="]]" end |
||
end |
end |