Jump to content

Module:Redirect: Difference between revisions

hmmm, that broke something, bad filename not rejected?
(Let's make sure it's blank)
(hmmm, that broke something, bad filename not rejected?)
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 "" 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.