Jump to content

Module:Version: Difference between revisions

3,342 bytes added ,  Wednesday at 13:07
Created page with "-- Current stable version. Increment this when a new version is released. local STABLE = 32 local RECENT = 31 local p = {} -- Tries to parse a version number -- returns either a version number, "trunk", or nil (meaning unknown) local function parse_version(version) if type(version) == "number" or version == "trunk" then return version end local num = tonumber(version) if num then -- convert 0.17 to 17 if num < 1 then num = 100*num end..."
(Created page with "-- Current stable version. Increment this when a new version is released. local STABLE = 32 local RECENT = 31 local p = {} -- Tries to parse a version number -- returns either a version number, "trunk", or nil (meaning unknown) local function parse_version(version) if type(version) == "number" or version == "trunk" then return version end local num = tonumber(version) if num then -- convert 0.17 to 17 if num < 1 then num = 100*num end...")
(No difference)
353

edits