Module:Check for deprecated parameters: Revision history

From HandWiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    2 December 2022

    • curprev 08:3008:30, 2 December 2022MainEditor talk contribs 1,974 bytes +1,974 Created page with "-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- on the list local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and trim(s) ~= '' end function p.check (frame) -- create the table of deprecated values and their matching new value local args = frame.args local dep_values = {} for k, v in pairs(args) do i..."