Jump to content

Module:Redirect: Difference between revisions

see which
(hmmm, that broke something, bad filename not rejected?)
(see which)
Line 9: Line 9:
   local rname=args[1] or pargs[1] or ""
   local rname=args[1] or pargs[1] or ""
   if redirect then
   if redirect then
       if mw.ustring.gsub(redirect,"%s","") == "" then return "" end
       if mw.ustring.gsub(redirect,"%s","") == "" then return "x" end
       else return "" end
       else return "" end
   local rpage=mw.title.new(rname)
   local rpage=mw.title.new(rname)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.