Jump to content

Module:Check for unknown parameters: Revision history

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.

13 May 2025

  • curprev 15:1115:11, 13 May 2025 Tholin talk contribs 3,413 bytes +3,413 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 -- not on the list -- src: https://en.wikipedia.org/wiki/Module:Check_for_unknown_parameters require ('strict'); local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end local function clean(text) -- Return text cleaned for display and truncate..."