Module:Break

From RabastorWiki
Revision as of 13:07, 18 June 2015 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

-- This module implements Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

local p = {}

function p.main( frame )

   local num = frame.args[1] or 
   num = tonumber( num )
   if not num or num < 1 or math.floor( num ) ~= num or num == math.huge then
       num = 1
   end
   return mw.ustring.rep( '
', num )

end

return p