Jump to content

Module:Redirect: Difference between revisions

36 bytes removed ,  11 years ago
OK, there was more than one error ... time to sort back through again :(
(should have read my own error)
(OK, there was more than one error ... time to sort back through again :()
Line 9: Line 9:
   local rname=args[1] or pargs[1] or ""
   local rname=args[1] or pargs[1] or ""
   if redirect=="" then return "" end
   if redirect=="" then return "" end
   local rpage=mw.title.new("Module talk:ImportProtein/DefaultColors")
   local rpage=mw.title.new(rname)
   local err=""
   local err=""
   if rpage then -- avoid possibly expensive FileExists if we don't have anything
   if rpage then -- avoid possibly expensive FileExists if we don't have anything
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.