Module:Redirect: Difference between revisions

DOUBLE duh dammit
(duh)
(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.gmatch(rname,"%[%[(.+)%]%]")
           local strip=mw.ustring.match(rname,"%[%[(.+)%]%]")
           if strip then rname=strip;bb="[[";be="]]" end
           if strip then rname=strip;bb="[[";be="]]" end
       end
       end
Anonymous user