Module:Convert

From Zoophilia Wiki
Revision as of 10:28, 24 February 2013 by meta>Johnuniq (temporarily replace with dummy code to see effect on time taken in testcases)
Jump to navigationJump to search

Documentation for this module may be created at Module:Convert/doc

-- Am temporarily replacing this module with one that does no work.
-- Aim is to see how the "Lua time usage" in the HTML source NewPP report
-- of the testcases changes.
-- Just before making this change, got following result:
--   http://en.wikipedia.org/wiki/Template:Convert/testcases/bytype/area
--   Lua time usage: 8.509s
-- Other tests suggest that this module does all those area conversions
-- in under 1 second, so what is taking over 7 seconds?

local p = {}

function p.convert(frame)
    return 'dummy'
end

return p