Module:Redirect: Difference between revisions
Content added Content deleted
Enwikipedia>Wnt (duh) |
Enwikipedia>Wnt (DOUBLE duh dammit) |
||
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.match(rname,"%[%[(.+)%]%]") |
||
if strip then rname=strip;bb="[[";be="]]" end |
if strip then rname=strip;bb="[[";be="]]" end |
||
end |
end |