Main public logs
Jump to navigation
Jump to search
This is a combined display of all logs except the patrol, review, tag and thanks logs: :Who performed the action – enter their name without prefix under "Performer". :The page or user affected by an action – enter the page or user name (prefixed with "User:") under "Target".
- 02:14, 15 January 2022 Tachyony talk contribs created page Module:IPAddress (Created page with "local p = {} function p._isIpV6(s) local dcolon, groups if type(s) ~= "string" or s:len() == 0 or s:find("[^:%x]") -- only colon and hex digits are legal chars or s:find("^:[^:]") -- can begin or end with :: but not with single : or s:find("[^:]:$") or s:find(":::") then return false end s, dcolon = s:gsub("::", ":") if dcolon > 1 then return false end -- at most one :: s = s:gsub("^:?", ":") -- prepend : if needed, upper s, groups = s:gsub(":%x%x?%x...")