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".
- 03:29, 20 January 2022 Tachyony talk contribs created page Module:Road data/util (Created page with "local util = {} local insert = table.insert local concat = table.concat local format = mw.ustring.format --- -- Add all entries in `arr` into `target`. -- An error is raised if `overwrite` is not true -- and any key in `arr` is already in `target`. function util.addAll(target, arr, overwrite) if type(target) ~= "table" then error("target is not a table") end for key,value in pairs(arr) do if overwrite or target[key] == nil then target[key] = value else e...")