Module:Break: Difference between revisions

From RabastorWiki
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 13:07, 18 June 2015

-- 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