Search Results: Module:Check blp parameter/testcases
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:Check for conflicting parameters
Minggu, 2025-12-28 10:34:01local function isnotempty(s) return s and s:match('%S') end function p.check(frame) local args = frame.args local pargs = frame:getParent().args local...
Click to read more »Module:Check for unknown parameters
Jumat, 2025-10-17 18:01:38table.concat(res) end function p.check(frame) local args = frame.args local pargs = frame:getParent().args return p._check(args, pargs) end return p...
Click to read more »Module:Check for unknown parameters/sandbox
Senin, 2025-10-06 13:52:57table.concat(res) end function p.check(frame) local args = frame.args local pargs = frame:getParent().args return p._check(args, pargs) end return p...
Click to read more »Module:Check for conflicting parameters/sandbox
Minggu, 2025-12-28 10:34:01local function isnotempty(s) return s and s:match('%S') end function p.check(frame) local args = frame.args local pargs = frame:getParent().args local...
Click to read more »Module:Check isxn
Jumat, 2022-11-04 06:27:58>-------------------------------------------------- error message supplements for check_isbn(); adapted from a similarly named table at Module:Citation/CS1/Configuration...
Click to read more »Module:Check for conflicting parameters/doc
Minggu, 2025-12-28 10:35:17appended to a template to check for uses of tuples of conflicting parameters. {{#invoke:Check for conflicting parameters|check |nested=1 |template=Some...
Click to read more »Module:Check isxn/sandbox
Kamis, 2023-04-13 08:54:14>-------------------------------------------------- error message supplements for check_isbn(); adapted from a similarly named table at Module:Citation/CS1/Configuration...
Click to read more »Module:WikidataCheck
Kamis, 2023-11-30 18:27:19(config.onlysourced == 'yes') or false local ok = false -- one-way flag to check if we're in a good namespace local ns = mw.title.getCurrentTitle().namespace...
Click to read more »Module:WikidataCheck/sandbox
Kamis, 2023-11-30 17:34:06(config.onlysourced == 'yes') or false local ok = false -- one-way flag to check if we're in a good namespace local ns = mw.title.getCurrentTitle().namespace...
Click to read more »Module:Check bibcode
Sabtu, 2022-10-22 04:03:05this module with: {{#invoke:check bibcode|check_bibcode|{{{1|}}}}} where {{{1|}}} is the bibcode ]=] local function check_bibcode (frame) local err_type...
Click to read more »Module:Check for deprecated parameters
Kamis, 2025-11-20 18:54:16) end end function p.check (frame) -- create the table of deprecated values and their matching new value return p._check(frame.args, frame:getParent()...
Click to read more »Module:Check DYK hook
Minggu, 2020-11-29 19:31:57validation checks for [[WP:DYK]] hooks local libraryUtil = require('libraryUtil') local p = {} local validationPatternGroups = { { -- Check that hooks...
Click to read more »Module:Check isxn/doc
Rabu, 2024-09-11 21:50:17ISBNs, {{#invoke:check isxn|check_isbn|978-0-12-345678-9|error={{error-small|Invalid ISBN}}}} For ISMNs, {{#invoke:check isxn|check...
Click to read more »Module:Check for unknown parameters/doc
Rabu, 2026-06-03 19:56:33Module:Check for unknown parameters is used to check for uses of unknown parameters in a template or module. It may be appended to a template at the end...
Click to read more »Module:Check height
Kamis, 2025-12-25 00:01:09-- Check exactly 2 digits if #minInches ~= 2 or #maxInches ~= 2 then return DEFAULT_FT_MIN, DEFAULT_FT_MAX end -- Check range...
Click to read more »Module:Infobox television disambiguation check
Selasa, 2026-01-06 18:30:17validateDisambiguation = require("Module:Television infoboxes disambiguation check") local p = {} -----------------------------------------------------------------------...
Click to read more »Module:Check for unknown parameters/testcases
Selasa, 2024-01-16 19:24:15for [[Module:Check for unknown parameters]]. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_01_1_check() ...
Click to read more »Module:Check DYK hook/sandbox
Minggu, 2020-11-29 19:28:27validation checks for [[WP:DYK]] hooks local libraryUtil = require('libraryUtil') local p = {} local validationPatternGroups = { { -- Check that hooks...
Click to read more »Module:Infobox television season disambiguation check
Selasa, 2026-01-06 18:16:42validateDisambiguation = require("Module:Television infoboxes disambiguation check") local p = {} -----------------------------------------------------------------------...
Click to read more »Module:Television infoboxes disambiguation check/doc
Minggu, 2021-10-17 20:25:30check handles the validation of disambiguation of pages using a television-related infobox. Currently Module:Infobox television disambiguation check and...
Click to read more »Module:Television infoboxes disambiguation check
Senin, 2025-12-22 19:01:57makeCheckSelfFunction( "Television infoboxes disambiguation check", "DisambiguationPattern", obj, "Television infoboxes disambiguation check object"...
Click to read more »Module:Infobox television disambiguation check/doc
Kamis, 2025-12-18 23:07:18disambiguation check is used to validate the disambiguation of a page using {{Infobox television}}. The module preforms two checks: It checks by a series...
Click to read more »Module:Check DYK hook/doc
Jumat, 2024-08-30 03:38:18This module checks the format of Wikipedia:Did you know hooks used in {{DYK talk}} and {{Article history}}. This module can be used from templates or from...
Click to read more »Module:Check for deprecated parameters/doc
Minggu, 2025-12-28 10:36:58Module:Check for deprecated parameters may be appended to a template to check for uses of deprecated parameters. It will place the page in a specific category...
Click to read more »Module:Check blp parameter
Jumat, 2025-01-03 04:07:09local check = function(p_table) local conflict = false local resolved for _, p in pairs(p_table) do local yn = yesno(p) -- check if "other"...
Click to read more »Module:Check DYK hook/testcases
Senin, 2026-03-09 23:06:01-- Load necessary modules local mCheckDYKHook = require('Module:Check DYK hook') local ScribuntoUnit = require('Module:ScribuntoUnit') -- Initialise test...
Click to read more »Module:Infobox television season disambiguation check/doc
Jumat, 2024-08-30 04:56:24disambiguation check is used to validate the disambiguation of a page using {{Infobox television season}}. The module preforms two checks: It checks by a series...
Click to read more »Module:Infobox television disambiguation check/testcases
Kamis, 2024-06-06 16:55:15-- Unit tests for [[Module:Infobox television disambiguation check]]. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_1_general()...
Click to read more »Module:Check winner by scores/doc
Jumat, 2024-08-30 03:39:46Implements {{check winner by scores}}...
Click to read more »Module:Sandbox/trappist the monk/check digit
Senin, 2022-10-24 04:02:37check_digit = check_digit_calc (id_str); -- calculate the check digit if is_valid_isxn_13 (id_str .. check_digit) then -- append check...
Click to read more »Module:Check for deprecated parameters/sandbox
Kamis, 2025-11-20 18:52:48) end end function p.check (frame) -- create the table of deprecated values and their matching new value return p._check(frame.args, frame:getParent()...
Click to read more »Module:Check blp parameter/sandbox
Rabu, 2025-11-26 22:20:15local check = function(p_table) local conflict = false local resolved for _, p in pairs(p_table) do local yn = yesno(p) -- check if "other"...
Click to read more »Module:DYK queue formatting check
Sabtu, 2025-12-13 13:02:20_decode -- Checks that look at the destination page of a wikilink local function check_link(page) if disableTransclusionBasedChecks then return...
Click to read more »Module:Infobox television season disambiguation check/testcases
Selasa, 2026-01-06 18:15:58-- Unit tests for [[Module:Infobox television season disambiguation check]]. Click talk page to run tests. local p = require('Module:UnitTests') ...
Click to read more »Module:Check winner by scores/testcases
Senin, 2026-03-09 23:01:32local mSandbox = require('Module:Check winner by scores') -- the module to be tested local ScribuntoUnit = require('Module:ScribuntoUnit') local suite...
Click to read more »Module:Television infoboxes disambiguation check/sandbox
Selasa, 2025-12-30 10:41:40makeCheckSelfFunction( "Television infoboxes disambiguation check", "DisambiguationPattern", obj, "Television infoboxes disambiguation check object"...
Click to read more »Module:Check for deprecated parameters/testcases
Kamis, 2025-11-20 18:30:58require('Module:Check for deprecated parameters')._check local sandbox = require('Module:Check for deprecated parameters/sandbox')._check -- Remember to...
Click to read more »Module:Check blp parameter/doc
Kamis, 2024-09-12 18:58:06This module is used by Template:WikiProject Biography to check for issues with the |blp=, |BLP= and |living= parameters....
Click to read more »Module:Infobox television disambiguation check/sandbox
Selasa, 2025-12-30 10:41:23validateDisambiguation = require("Module:Television infoboxes disambiguation check/sandbox") local p = {} ----------------------------------------------...
Click to read more »Module:Infobox television season disambiguation check/sandbox
Selasa, 2026-01-06 18:14:54validateDisambiguation = require("Module:Television infoboxes disambiguation check/sandbox") local p = {} ----------------------------------------------...
Click to read more »Module:Check if redirect targets section/doc
Minggu, 2025-10-05 10:29:57{{#invoke:Check if redirect targets section | run |PAGE_NAME}} An example is {{#invoke:Check if redirect targets section | run | Module talk:Check if redirect...
Click to read more »Module:Check if redirect targets section/testcases
Senin, 2025-08-25 02:58:05p:test_hello() self:preprocess_equals('{{#invoke:Check if redirect targets section | run | Module talk:Check if redirect targets section/Redirect to section}}'...
Click to read more »Module:Params/doc/examples/check for unknown parameters
Jumat, 2024-09-27 02:46:31{{#invoke:Check for unknown parameters|check}} {{#invoke:Check for deprecated parameters|check}} {{#invoke:Check for conflicting parameters|check}} {{#invoke:Parameter...
Click to read more »Module:DYK queue formatting check/doc
Rabu, 2025-09-17 07:02:32This module automatically checks for stylistic and formatting errors unique to DYK. {{Did you know/Clear/header}} Transcluded by pages like Template:Did...
Click to read more »Module:Sandbox/Mr. Stradivarius/Check ISO 639-1/testcases
Selasa, 2024-03-26 14:41:14-- Unit tests for [[Module:Check ISO 639-1]]. Click talk page to run tests. local p = require('Module:UnitTests') local isoModule = require('Module:Sandbox/Mr...
Click to read more »Module:Article stub box
Senin, 2026-03-23 03:14:13takes unlimited cats! This function also performs most stub category error checks except for the ombox for when main |category= is omitted (See p.template())...
Click to read more »Module:Params/doc/examples/check for unknown parameters/doc
Minggu, 2025-12-28 10:39:07{{#invoke:Check for unknown parameters|check}} {{#invoke:Check for deprecated parameters|check}} {{#invoke:Check for conflicting parameters|check}} {{#invoke:Parameter...
Click to read more »Module:Arguments
Rabu, 2020-04-01 13:12:40local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options...
Click to read more »Module:InfoboxImage/sandbox
Kamis, 2026-06-04 23:55:51upright - upright image param -- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it -- link - page to...
Click to read more »Module:Authority control
Sabtu, 2026-02-07 04:46:53'%1:%2%3%4') end local check = require('Module:Check for unknown parameters')._check local sortkey outString = outString .. check({ ['unknown'] = wikilink(config...
Click to read more »Module:Infobox
Sabtu, 2025-12-13 06:40:10function has_list_class(args_to_check) for _, list in pairs(lists) do if not list.found then for _, arg in pairs(args_to_check) do for _, pattern in...
Click to read more »Module:Arguments/sandbox
Rabu, 2021-04-21 16:30:15local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options...
Click to read more »Module:InfoboxImage
Sabtu, 2025-10-18 16:45:47upright - upright image param -- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it -- link - page to...
Click to read more »Module:Citation/CS1/Configuration
Sabtu, 2026-02-28 22:14:44table of parameter names that the extraneous terminal punctuation check should not check. ]] local punct_meta_params = { -- table of aliases[]...
Click to read more »Module:Check winner by scores
Sabtu, 2022-10-22 04:13:41require('strict') local p = {} local function format_score(s) s = mw.ustring.gsub(s or '', '^[%s\']*([%d%.]+)[%s\']*[–−—%-][%s\']*([%d%.]+)', '%1–%2')...
Click to read more »Module:Sports table
Senin, 2025-12-08 23:02:04or qualification', R='Relegation'} local results_defined = false -- Check whether this would be needed -- Possible prefix for result fields local...
Click to read more »Module:Citation/CS1
Sabtu, 2026-02-28 22:14:46check |<param>-link= markup orig = lorig; -- identify the failing link parameter elseif title:find ('%[%[') then -- check...
Click to read more »Module:Portal-inline
Senin, 2026-03-16 21:34:14.sandbox) local getImageName = portalModule._image local checkPortals = portalModule._checkPortals local processPortalArgs = portalModule._processPortalArgs...
Click to read more »Module:Build bracket/sandbox
Selasa, 2025-08-26 21:10:36require("Module:Build bracket/Params/sandbox") local StateChecks = require("Module:Build bracket/StateChecks") local Logic = require("Module:Build bracket/Logic/sandbox")...
Click to read more »Module:Road data/parser
Sabtu, 2024-08-24 16:40:02ignoreifexists then -- Check existence. if ifexists(defaultValue, key) then return defaultValue end -- Failed existence check results in fallback value...
Click to read more »Module:Build bracket
Selasa, 2025-08-19 23:45:35require("Module:Build bracket/Params") local StateChecks = require("Module:Build bracket/StateChecks") local Logic = require("Module:Build bracket/Logic")...
Click to read more »Module:WikidataIB
Sabtu, 2025-12-27 18:46:46end -- of check for sourced end -- of check for matching required value and has qualifiers else return nil end -- of check for string ...
Click to read more »Module:Sandbox/Mr. Stradivarius/Check ISO 639-1/doc
Selasa, 2024-03-26 14:37:34This module checks whether the code passed to the first positional parameter is a valid ISO 639-1 language code....
Click to read more »Module:Portal
Minggu, 2025-05-25 01:07:03'wikipedia'} -- Check whether to do tracking in this namespace -- Returns true unless the page is one of the banned namespaces local function checkTracking(title)...
Click to read more »Module:Delink
Sabtu, 2024-02-17 11:47:33function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes. return s end return s:match("%[%[|(...
Click to read more »Module:Sandbox/Mr. Stradivarius/Check ISO 639-1
Selasa, 2024-03-26 14:33:27MediaWiki language codes might not be valid ISO 639-1 codes, so we need to check the codes table too. ret = code else ret = mw.ustring.format('<strong...
Click to read more »Module:Infobox/sandbox
Kamis, 2026-06-04 03:40:46function has_list_class(args_to_check) for _, list in pairs(lists) do if not list.found then for _, arg in pairs(args_to_check) do for _, pattern in...
Click to read more »Module:UnitTests
Senin, 2026-04-27 06:17:38nothing left to check. elseif size_a == 0 then return true end -- Laborious check: since it's not possible to use table lookups to check if two keys...
Click to read more »Module:Check winner by scores/sandbox
Senin, 2025-07-21 05:53:36require('strict') local p = {} local function format_score(s) s = mw.ustring.gsub(s or '', '^[%s\']*([%d%.]+)[%s\']*[–−—%-][%s\']*([%d%.]+)', '%1–%2')...
Click to read more »Module:Citation/CS1/sandbox
Minggu, 2026-04-26 21:34:02check |<param>-link= markup orig = lorig; -- identify the failing link parameter elseif title:find ('%[%[') then -- check...
Click to read more »Module:Build bracket/StateChecks
Selasa, 2025-08-19 01:00:36local StateChecks = {} -- ========================= -- 1) MODULE BINDINGS -- ========================= -- Bound at runtime local state, config, Helpers...
Click to read more »Module:Sports color
Kamis, 2026-04-02 03:08:37all_colors[colors] end end return colors or unknown end local function team_check(team, unknown) local colors = get_colors(team, unknown) if type(colors)...
Click to read more »Module:TemplatePar
Kamis, 2023-04-20 01:13:15URLutil = 10859193 } } --[=[ Template parameter utility * assert * check * count * countNotEmpty * downcase() * duplicates * match * valid * verify()...
Click to read more »Module:Random portal component
Sabtu, 2020-10-03 17:08:46local maxNum = tonumber(max) local availableSubPageCount = maxNum -- Check for missing subpages at end of alleged number range while availableSubPageCount...
Click to read more »Module:Unsubst
Sabtu, 2021-10-09 01:22:16local checkType = require('libraryUtil').checkType local p = {} local BODY_PARAM = '$B' local specialParams = { ['$params'] = 'parameter list', ['$aliases']...
Click to read more »Module:Excerpt/portals
Rabu, 2026-05-13 00:55:29list) end return table.concat(lists, '\n') end -- Check image for suitability local function checkImage(image) if type(image) == "table" then --Infobox...
Click to read more »Module:TableTools
Minggu, 2024-08-18 11:19:07floor local infinity = math.huge local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti ---------------------------...
Click to read more »Module:College color
Sabtu, 2026-05-23 06:29:09'') end function p.check(frame) local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args return team_check(remove_sport(args[1]...
Click to read more »Module:Lang
Rabu, 2026-05-13 06:20:12T >---------------------------------------------------- This function checks the content of args.text and returns empty string if nothing is amiss else...
Click to read more »Module:Excerpt slideshow
Minggu, 2024-08-18 18:19:31in the slideshow local SOURCE_PAGES_LIMIT = 10 -- max number of pages to check for links / list items -- begin BHG addition for tracking source pages...
Click to read more »Module:Str find word
Senin, 2023-04-03 07:35:55words (simple array) -- words list can be: source, andwords-to-check, orwords-to-check -- step 1: when case-insensitive, turn string into lowercase --...
Click to read more »Module:Unicode data
Selasa, 2025-09-16 09:46:49--[[ -- Checks that the code point is a number and in range. -- Does not check whether code point is an integer. -- Not used local function check_codepoint(funcName...
Click to read more »Module:ParameterCount
Sabtu, 2017-02-11 21:32:57testFunc(key, val) then ret = ret + 1 end end return ret end -- Check shared arguments and get the parent argument count. local function main(frame...
Click to read more »Module:Check bibcode/doc
Jumat, 2024-08-30 03:38:30...
Click to read more »Module:WikidataIB/sandbox
Senin, 2025-12-22 06:49:07end -- of check for sourced end -- of check for matching required value and has qualifiers else return nil end -- of check for string ...
Click to read more »Module:Math
Jumat, 2026-04-10 21:26:08if given an explicit nil parameter, so we need to use if statements to check the params. if first and second then if first <= second then -- math...
Click to read more »Module:Gridiron color
Senin, 2026-04-13 00:56:07'box-shadow: ' .. s .. ';' else return '' end end local function contrast_check(background, text, colors, alt) local c_limit = 3 local contrast =...
Click to read more »Module:Sandbox/Motoko C. K./checkURL
Rabu, 2018-07-04 01:45:22function p.checkURL(frame) local check_a = string.match(frame.args[1], "^https://") local check_b = string.match(frame.args[1], "^http://") if check_a or...
Click to read more »Module:Political party
Sabtu, 2026-02-21 23:27:56data.full[party_alt] end else party_info = data_all[party] end -- Check if database value exists -- * Not even in database - return given error...
Click to read more »Module:Random slideshow
Jumat, 2025-03-28 20:28:55occur in both gallery-fetched and file-fetched files local function doubleCheck(file) -- disable pipes in wikilinks file = file:gsub( "%[%[([^%]]-)|(...
Click to read more »Module:Hatnote
Selasa, 2025-03-18 22:47:33libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local mArguments --...
Click to read more »Module:Coordinates
Senin, 2026-01-26 03:35:45decimal ) -- not tonumber since this whole thing is string based. end --[[ Checks input values to for out of range errors. ]] local function validate( lat_d...
Click to read more »Module:BaseConvert
Rabu, 2022-04-13 11:58:12n:gsub('^(-?)0[Xx]', '%1') if c > 0 and not from then from = 16 end end -- check for a negative sign. Do this while the input is still in string form, --...
Click to read more »Module:Citation/CS1/Identifiers
Senin, 2026-01-19 22:36:14Format OSTI and do simple error checking. OSTIs are sequential numbers beginning at 1 and counting up. This code checks the OSTI to see that it contains...
Click to read more »Module:Message box
Senin, 2025-10-20 01:19:52then local paramsToCheck = cfg.templateErrorParamsToCheck or {} local count = 0 for i, param in ipairs(paramsToCheck) do if not args[param]...
Click to read more »Module:Infobox3cols
Senin, 2026-05-25 12:20:24local check_for_unknown_parameters = require("Module:Check for unknown parameters")._check local p = {} local args = {} local origArgs = {} local root...
Click to read more »Module:TableTools/sandbox
Kamis, 2024-08-15 03:03:06floor local infinity = math.huge local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti ---------------------------...
Click to read more »Module:Find sources
Minggu, 2022-02-27 20:33:28'/config' -- for global config -- Load required modules local checkType = require('libraryUtil').checkType local cfg = mw.loadData(CONFIG_PAGE) local p = {}...
Click to read more »Module:Citation/CS1/Date validation
Minggu, 2026-01-18 02:25:14is_valid_date, reformat_dates = reformat_dates, set_selected_modules = set_selected_modules, year_check = year_check, year_date_check = year_date_check, }...
Click to read more »Module:Location map
Selasa, 2026-05-26 13:47:54match(tostring(width),"%d*")) or 0; if width_as_number == 0 then -- check to see if width is junk. If it is, then use default calculation width...
Click to read more »Module:Television episode short description
Minggu, 2025-10-19 06:32:02mw.title.getCurrentTitle() local namespace = articleTitle.nsText -- Check if the invoking page is from the allowed namespace. if (not (namespace...
Click to read more »Module:Infobox3cols/sandbox
Senin, 2026-05-25 12:16:45local check_for_unknown_parameters = require("Module:Check for unknown parameters")._check local p = {} local args = {} local origArgs = {} local root...
Click to read more »Module:Requested move
Rabu, 2024-03-20 06:51:08is not valid, returns false and the -- appropriate error message. -- Check for a small subset of characters that cannot be used in MediaWiki -- titles...
Click to read more »Module:Autotaxobox
Selasa, 2026-03-17 12:06:48makeTable(frame, currTaxon) local lastRankVal = 1000000 local orderOk = true -- check whether the taxonomy is for viruses; use already determined taxon colour...
Click to read more »Module:Coordinates/sandbox
Senin, 2026-01-12 03:40:02decimal ) -- not tonumber since this whole thing is string based. end --[[ Checks input values to for out of range errors. ]] local function validate( lat_d...
Click to read more »Module:Footnotes
Minggu, 2025-03-02 10:29:01'multiple targets' error may not be suppressed ]] local function target_check (anchor_id, args) local namespace = mw.title.getCurrentTitle().namespace;...
Click to read more »Module:List
Senin, 2026-03-02 12:52:06local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes...
Click to read more »Module:Citation/CS1/Configuration/sandbox
Rabu, 2026-06-03 02:12:03table of parameter names that the extraneous terminal punctuation check should not check. ]] local punct_meta_params = { -- table of aliases[]...
Click to read more »Module:College color/sandbox
Sabtu, 2026-05-23 09:34:52'') end function p.check(frame) local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args return team_check(remove_sport(args[1]...
Click to read more »Module:Sports results
Jumat, 2024-10-11 04:03:21team_note then notes_exist = true -- Only when it exist -- First check for existence of reference for note if not Args['note_'..team_note] then...
Click to read more »Module:Wikidata/sandbox
Sabtu, 2023-03-04 11:34:03local addon_sep = i18n["datetime"]["addon-sep"] local addon = "" -- check for negative date if string.sub(timestamp, 1, 1) == '-' then timestamp...
Click to read more »Module:Wikidata
Sabtu, 2023-03-04 11:35:36local addon_sep = i18n["datetime"]["addon-sep"] local addon = "" -- check for negative date if string.sub(timestamp, 1, 1) == '-' then timestamp...
Click to read more »Module:Redirect template handler
Kamis, 2024-06-27 16:55:32modules" } --[[ Local function which validates parameter usage through Module:Check for unknown parameters. If calling module has additional valid args that...
Click to read more »Module:String
Selasa, 2025-08-12 06:48:56-1 local len = mw.ustring.len( s ) -- Convert negatives for range checking if i < 0 then i = len + i + 1 end if j < 0 then j = len + j + 1...
Click to read more »Module:Citation/CS1/Identifiers/sandbox
Kamis, 2026-06-04 20:26:17Format OSTI and do simple error checking. OSTIs are sequential numbers beginning at 1 and counting up. This code checks the OSTI to see that it contains...
Click to read more »Module:Wd
Rabu, 2025-07-23 02:53:47"" end end id = id:upper() -- just to be sure if raw then -- check if given id actually exists if mw.wikibase.isValidEntityId(id) and mw...
Click to read more »Module:Category handler
Rabu, 2020-04-01 13:12:40CategoryHandler:shouldSkipBlacklistCheck() -- Check whether the category suppression arguments indicate we -- should skip the blacklist check. return self._nocat...
Click to read more »Module:Signpost
Sabtu, 2023-12-16 07:24:07libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg ...
Click to read more »Module:Adjacent stations
Jumat, 2025-10-03 10:27:24end tmp[1] = replace[tmp[1]] or tmp[1] if tmp[2] then -- checks for matching brackets local curly = select(2, mw.ustring.gsub(tmp[2]...
Click to read more »Module:Storm categories
Senin, 2023-04-24 22:35:45end function p._isEqual(category1, category2) -- Checks if two IDs are equal. -- An {{#ifeq}} check does not consider aliases. This function compares...
Click to read more »Module:CheckUser requests at UTRS/doc
Jumat, 2025-02-07 01:56:47returns the current number of requests for CheckUser attention at UTRS. It takes no parameters. It it used in {{CheckUser requests at UTRS}}, which outputs...
Click to read more »Module:Category series navigation
Selasa, 2025-12-09 01:35:27.cat..']]' else ttrackingcats[key] = '' end end return end --Check for unknown parameters. --Used by main only. local function checkforunknownparams(...
Click to read more »Module:List/sandbox
Senin, 2026-03-02 12:57:07local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes...
Click to read more »Module:Namespace detect
Minggu, 2014-04-06 00:01:23function checkValue(value, default) if type(value) == 'string' then return value else return default end end local nsHeader = checkValue(cfg...
Click to read more »Module:Flags
Kamis, 2013-08-22 10:50:39-- check if name is an original name in translation.fullname and -- return its value, otherwise return nil function check_translation(name)...
Click to read more »Module:Check if redirect targets section
Senin, 2025-08-25 02:57:37local p = {} function p._run(page) if not page or page == "" then return "false" end title = mw.title.new(page) if not title then return "false" end...
Click to read more »Module:Fiction redirect category handler/Franchise
Kamis, 2024-11-14 11:39:50that editors can use instead of the full TV series name. This functions checks if the user-input parameters match the ones on the list, and if they do...
Click to read more »Module:Political party/sandbox
Sabtu, 2026-02-21 21:25:57data.full[party_alt] end else party_info = data_all[party] end -- Check if database value exists -- * Not even in database - return given error...
Click to read more »Module:Sandbox/trappist the monk/dab check
Selasa, 2019-05-21 23:14:09local type_specifier = {'TV series', 'TV programme', 'TV program', 'TV film', 'film', 'miniseries', 'serial', 'game show', 'talk show', 'web series'};...
Click to read more »Module:Sports color/esports
Selasa, 2025-04-15 06:15:50["Hawks Talon GC"] = {"C8102E", "FFFFFF", "FDB927", "000000"}, ["Heat Check Gaming"] = {"000000", "FFFFFF", "98002E", "FFFFFF"}, ["Hornets Venom GT"]...
Click to read more »Module:Userbox
Sabtu, 2025-10-04 09:14:54----------------------------------------- local function checkNum(val, default) -- Checks whether a value is a number greater than or equal to zero...
Click to read more »Module:Authority control/sandbox
Kamis, 2026-06-04 00:40:21[^%|%]]*(%]%])','%1:%2%3%4') end local check = require('Module:Check for unknown parameters')._check outString = outString .. check({ ['unknown'] = wikilink(config...
Click to read more »Module:Portal bar
Senin, 2026-03-16 21:32:43.sandbox) local getImageName = portalModule._image local checkPortals = portalModule._checkPortals local processPortalArgs = portalModule._processPortalArgs...
Click to read more »Module:Italic title
Sabtu, 2022-10-22 04:17:12libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local yesno = require('Module:Yesno')...
Click to read more »Module:Road data/strings/doc
Rabu, 2025-12-10 01:20:58svg", width = "expand" } When parsing the link field, the parser first checks to see if the dab argument was provided. If so, it replaces the statement...
Click to read more »Module:Fiction-based redirects to list entries category handler/RedirectType
Kamis, 2024-06-27 01:00:59= "", from = "", suffix = "", isFranchise = false} local checkSelf = libraryUtil.makeCheckSelfFunction("Fiction-based redirects to list entries category...
Click to read more »Module:Flag
Rabu, 2026-06-03 21:15:29'placeholder','getParent','frameonly' } check = require('Module:Check for unknown parameters')._check(opts,args) end return preftext .. require('Module:Flagg')...
Click to read more »Module:Formatted appearance
Senin, 2024-05-06 18:55:40used to get a correctly formatted entry. -- Function checks if the array had a value added by checking the counter, -- and returns the relevant result. local...
Click to read more »Module:Str find word/doc
Sabtu, 2026-03-28 19:20:34beta, gamma |word=november}} (False) → Multiple word check: The search can be extended to check for multiple words being present. AND-list of words, all...
Click to read more »Module:Location map/sandbox
Selasa, 2026-06-02 04:25:47match(tostring(width),"%d*")) or 0; if width_as_number == 0 then -- check to see if width is junk. If it is, then use default calculation width...
Click to read more »Module:Citation/CS1/Date validation/sandbox
Minggu, 2026-03-29 21:38:23is_valid_date, reformat_dates = reformat_dates, set_selected_modules = set_selected_modules, year_check = year_check, year_date_check = year_date_check, }...
Click to read more »Module:Lang/sandbox
Rabu, 2026-05-13 06:17:18T >---------------------------------------------------- This function checks the content of args.text and returns empty string if nothing is amiss else...
Click to read more »Module:String/sandbox
Selasa, 2025-08-12 06:46:44-1 local len = mw.ustring.len( s ) -- Convert negatives for range checking if i < 0 then i = len + i + 1 end if j < 0 then j = len + j + 1...
Click to read more »Module:Convert
Kamis, 2026-01-15 09:19:56local function to_en_with_check(text, parms) -- Version of to_en() for a wiki using numdot = ',' and numsep = '.' to check -- text (an input number...
Click to read more »Module:Sports color/sandbox
Sabtu, 2024-04-13 22:39:18all_colors[colors] end end return colors or unknown end local function team_check(team, unknown) local colors = get_colors(team, unknown) if type(colors)...
Click to read more »Module:Delink/sandbox
Minggu, 2023-04-23 01:29:13function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes. return s end return s:match("%[%[|(...
Click to read more »Module:Infobox gene
Rabu, 2025-02-05 02:58:46"protected call", return "value error" with error info on error local function check_values(f,args) --local u= table.upack(args) local exist, val = pcall(f...
Click to read more »Module:Format link
Selasa, 2022-10-04 20:37:11libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local mArguments --...
Click to read more »Module:Is infobox in lead
Senin, 2019-10-07 11:35:39"{{%s-[Ii]nfobox%s-mapframe", "") --don't check for infobox mapframe :gsub( "{{%s-[Ii]nfobo[^}]-%|%s-embed%s-=%s-yes", "") --don't check for embeded infoboxes ...
Click to read more »Module:Formatted appearance/sandbox
Senin, 2024-05-06 18:43:16used to get a correctly formatted entry. -- Function checks if the array had a value added by checking the counter, -- and returns the relevant result. local...
Click to read more »Module:String2
Rabu, 2025-02-19 19:24:59then return boolean and 1 or s end return boolean and 0 or '' end -- Checks if a value in a group of numbers is not an interger. -- Allows usage of...
Click to read more »Module:Taxonbar
Minggu, 2025-12-14 22:45:10mainsnak.datavalue and formatterURL.mainsnak.datavalue.value then --nil check for ABA link = formatterURL.mainsnak.datavalue.value end ...
Click to read more »Module:FindYDCportal
Sabtu, 2026-02-14 05:40:38]] local p = {} -- This table of existing decade portals is the first check of whether a portal -- exists for a given decade. -- If the decade is listed...
Click to read more »Module:Episode list
Sabtu, 2025-10-11 08:47:09anything about hiding, so only it needs to even check if (sublist) then onInitialPage = onInitialPageCheck -- avoid processing ghost references if...
Click to read more »Module:Portal/sandbox
Jumat, 2025-09-12 19:30:32'wikipedia'} -- Check whether to do tracking in this namespace -- Returns true unless the page is one of the banned namespaces local function checkTracking(title)...
Click to read more »Module:Redirect hatnote
Selasa, 2022-09-06 01:21:32libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local p = {} ...
Click to read more »Module:Message box/sandbox
Rabu, 2026-01-14 07:04:32then local paramsToCheck = cfg.templateErrorParamsToCheck or {} local count = 0 for i, param in ipairs(paramsToCheck) do if not args[param]...
Click to read more »Module:Navbox
Rabu, 2026-02-25 00:16:57require('strict') local p = {} local cfg = mw.loadData('Module:Navbox/configuration') local inArray = require("Module:TableTools").inArray local getArgs...
Click to read more »Module:ResolveEntityId
Rabu, 2022-11-02 22:33:48local p = {} function p._id(idOrTitle, alt) local function checkId(id) if id and mw.wikibase.entityExists(id) then local sitelink = mw.wikibase...
Click to read more »Module:Archive list
Selasa, 2026-02-17 22:19:42nil end -- Checks whether a page exists, going through pcall -- in case we are over the expensive function limit. local function checkPageExists( title...
Click to read more »Module:Pagetype
Rabu, 2024-05-22 00:35:20subpageText~='doc' -- don't detect modules or not title.exists -- can't check unless page exists then return nil end local content = title:getContent()...
Click to read more »Module:Television episode disambiguation description
Jumat, 2020-10-23 05:23:02(disambiguation is extended). if (not isDisambiguationExtended) then -- Check if the article name has extended disambiguation. return "(''" .. disambiguation...
Click to read more »Module:Commons link
Kamis, 2024-10-24 17:43:16require('Module:Arguments').getArgs local p = {} -- Check if string is a valid QID -- Argument: QID to check -- Returns: valid (bool) local function _validQID(qid)...
Click to read more »Module:Track listing
Senin, 2025-05-12 11:35:39local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local cfg = mw.loadData('Module:Track listing/configuration')...
Click to read more »Module:Footnotes/sandbox
Jumat, 2025-05-16 04:41:13'multiple targets' error may not be suppressed ]] local function target_check (anchor_id, args) local namespace = mw.title.getCurrentTitle().namespace;...
Click to read more »Module:Type in location
Jumat, 2023-04-28 01:16:32validateTyp (typ, args) args = args or {} local checkpatterns = args['check-patterns'] local invalidadd = args.invalidadd if checkpatterns then ...
Click to read more »Module:Protection banner
Rabu, 2026-02-18 15:46:08ipairs(inactive) do attemptOrder[#attemptOrder + 1] = t end end --[[ -- Check increasingly generic key combinations until we find a match. If a -- specific...
Click to read more »Module:Unsubst/sandbox
Rabu, 2026-06-03 03:52:34local checkType = require('libraryUtil').checkType local p = {} local BODY_PARAM = '$B' local specialParams = { ['$params'] = 'all parameters', ['$extra']...
Click to read more »Module:Protected edit request
Minggu, 2025-05-11 03:02:03getCurrentTitle() local skipCheck = yesno(self.args.demo) or yesno(self.args.skiptalk) if not title.isTalkPage and not skipCheck then return '<span class="error">Error:...
Click to read more »Module:Shortcut
Senin, 2024-03-11 10:26:56'Module:Shortcut/config' -- Load required modules local checkType = require('libraryUtil').checkType local yesno = require('Module:Yesno') local p = {}...
Click to read more »Module:Format link/sandbox
Selasa, 2022-10-04 20:36:21libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local mArguments --...
Click to read more »Module:Hatnote/sandbox
Kamis, 2022-08-11 23:24:18libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local mArguments --...
Click to read more »Module:Autotaxobox/sandbox
Kamis, 2025-07-17 19:35:19makeTable(frame, currTaxon) local lastRankVal = 1000000 local orderOk = true -- check whether the taxonomy is for viruses; use already determined taxon colour...
Click to read more »Module:Flag/sandbox
Rabu, 2026-06-03 21:11:59'placeholder','getParent','frameonly' } check = require('Module:Check for unknown parameters')._check(opts,args) end return preftext .. require('Module:Flagg')...
Click to read more »Module:UserLinks
Minggu, 2024-09-01 00:20:30string and that it is not the blank string. Returns the code if -- the check passes, and nil if not. if type(code) == 'string' and code ~= '' then...
Click to read more »Module:RexxS
Kamis, 2022-11-03 00:49:08if it does -- {{#invoke:RexxS|checkPage|art=<pagename>}} -- {{#invoke:RexxS|checkPage|art=<pagename>|ns=<number>}} p.checkPage = function(frame) local...
Click to read more »Module:Fiction-based redirects to list entries category handler
Jumat, 2026-05-29 15:04:01\"Category:series-name content-type redirects to lists\"" --[[ Local function which checks if the category exists. --]] local function doesCategoryExist(category)...
Click to read more »Module:Math/sandbox
Jumat, 2026-04-10 00:08:08if given an explicit nil parameter, so we need to use if statements to check the params. if first and second then if first <= second then -- math...
Click to read more »Module:IP
Sabtu, 2022-10-22 16:07:04local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local makeCheckSelfFunction = libraryUtil.makeCheckSelfFunction...
Click to read more »Module:Rfx
Senin, 2024-11-25 04:10:19= {} local checkSelf = libraryUtil.makeCheckSelfFunction( 'Module:Rfx', 'rfx', obj, 'rfx object' ) -- Get the title object and check to see whether...
Click to read more »Module:Template test case
Kamis, 2025-08-07 00:01:43showtemplate == false then templateOptions[num] = nil end end -- Check for missing template names. for num, t in pairs(templateOptions) do if...
Click to read more »Module:Other uses
Selasa, 2020-06-02 06:06:08--initialize lazily local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} -- Produces standard {{other uses}} implementation...
Click to read more »Module:Csdcheck
Jumat, 2025-10-31 02:26:29-- -- This module checks whether any of a given set of input criteria are valid CSD criteria. -- It is also possible to specify pre-defined or custom sets...
Click to read more »Module:Side box
Selasa, 2026-03-17 03:05:56args.image ~= 'none' then data.image = args.image end -- we have to check to see if a downstream use has plainlist like -- Template:Sister_project...
Click to read more »Module:TNT
Minggu, 2020-08-30 14:28:25format(dataset, key, ...) local checkType = require('libraryUtil').checkType checkType('format', 1, dataset, 'string') checkType('format', 2, key, 'string')...
Click to read more »Module:NewDYKnomination
Senin, 2024-10-21 15:14:24by ${AUTHORS}. Number of QPQs required: ${QPQS_REQUIRED}}} ~~~~. <!--${CHECK_CREDITS_WARNING} ${CREDITS} --> * <!-- REPLACE THIS LINE TO WRITE the FIRST...
Click to read more »Module:Template invocation
Jumat, 2024-09-06 03:21:20functions for making MediaWiki template invocations. local checkType = require('libraryUtil').checkType local p = {} -----------------------------------...
Click to read more »Module:Commons link/sandbox
Kamis, 2024-10-24 17:40:20require('Module:Arguments').getArgs local p = {} -- Check if string is a valid QID -- Argument: QID to check -- Returns: valid (bool) local function _validQID(qid)...
Click to read more »Module:Taxonbar/candidate
Rabu, 2024-04-17 21:48:58local p = {} function p.check(frame) local taxonbarExists = require('Module:Taxonbar/exists').check if taxonbarExists(frame) == true then return ''...
Click to read more »Module:File link
Rabu, 2020-04-01 13:31:54require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table')...
Click to read more »Module:Hatnote list
Selasa, 2023-11-14 04:00:31options) -- Type-checks, defaults, and a shortcut checkType("stringifyList", 1, list, "table") if #list == 0 then return nil end checkType("stringifyList"...
Click to read more »Module:Portal bar/sandbox
Jumat, 2025-09-12 20:21:02.sandbox) local getImageName = portalModule._image local checkPortals = portalModule._checkPortals local processPortalArgs = portalModule._processPortalArgs...
Click to read more »Module:Gridiron color/sandbox
Jumat, 2026-04-24 00:23:23'box-shadow: ' .. s .. ';' else return '' end end local function contrast_check(background, text, colors, alt) local c_limit = 3 local contrast =...
Click to read more »Module:RedirectData
Sabtu, 2021-03-06 04:25:13getRedirectToNamespace(frame) titleObject = mw.title.getCurrentTitle() -- check if this is a redirect if titleObject.redirectTarget then targetNamespace...
Click to read more »Module:Formatnum
Sabtu, 2021-02-20 22:49:21ASCII-only formatting (without paddings) number = tostring(value) -- Check the presence of an exponent (incorrectly managed in mw.language:FormatNum()...
Click to read more »Module:Infobox television episode
Rabu, 2026-06-03 14:33:30the template's div. check_value = string.gsub(check_value, '<div class="template%-based%-on".-</div>', "") end -- Check the (possibly cleaned)...
Click to read more »Module:URL
Kamis, 2025-11-13 05:08:00msg) url = mw.text.trim(url or '') text = mw.text.trim(text or '') -- Check for pre-formatted url. Catches '{{url|{{url|google.com}}}}' that can occur...
Click to read more »Module:PopulationFromWikidata
Kamis, 2023-07-20 08:57:48Location local item = nil --------------- Function GetRefsForClaim to check, collate and format all the reference components---------------------- ...
Click to read more »Module:Video game series reviews
Kamis, 2024-10-24 23:58:08checkColumn(game, 'mc'); checkColumn(game, 'gr'); checkColumn(game, 'oc'); checkColumn(game, 'fam'); checkColumn(game, 'year'); checkColumn(game...
Click to read more »Module:Parameters
Sabtu, 2020-07-04 17:52:26_check(args) local title = args.base or mw.title.getCurrentTitle().fullText return string.format( '{{#invoke:Check for unknown parameters|check|unknown='...
Click to read more »Module:Italic title/sandbox
Kamis, 2026-03-05 20:57:34libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local yesno = require('Module:Yesno')...
Click to read more »Module:English variant notice
Senin, 2026-05-18 05:39:33n.image = string.format('[[File:%s|%s]]', n.image, size) else --check if the globe should be "color" instead of "colour" if yesno(n.color)...
Click to read more »Module:English variant notice/sandbox
Senin, 2026-02-16 16:05:22n.image = string.format('[[File:%s|%s]]', n.image, size) else --check if the globe should be "color" instead of "colour" if yesno(n.color)...
Click to read more »Module:Labelled list hatnote
Kamis, 2025-05-29 01:18:35preprocessDisplays (args, prefixes) -- Prefixes specify which parameters, in order, to check for display options -- They each have numbers auto-appended, e.g. 'label1'...
Click to read more »Module:Color contrast
Senin, 2025-03-31 03:30:40contrast}} from a wrapper template. Parameters: -- |1= — required; A color to check. --]] function p.lum(frame) local color = frame.args[1] or frame:getParent()...
Click to read more »Module:Episode table
Rabu, 2026-06-03 04:11:12wrappers = 'Template:Episode table' }) local check = require('Module:Check for unknown parameters')._check local tracking = '' local title = mw.title...
Click to read more »Module:Multiple image
Rabu, 2026-05-27 20:25:05nonautoscaledimages = false local check = require('Module:Check for unknown parameters')._check local tracking = check({ ['unknown'] = frame:expandTemplate{...
Click to read more »Module:Disambiguation
Selasa, 2025-02-04 15:22:29end -- check for disambiguation templates in the content local templateNames = {} -- remove nowiki content and html comments for this check local activecontent...
Click to read more »Module:BaseConvert/sandbox
Selasa, 2022-04-12 14:18:47n:gsub('^(-?)0[Xx]', '%1') if c > 0 and not from then from = 16 end end -- check for a negative sign. Do this while the input is still in string form, --...
Click to read more »Module:Find sources/sandbox
Rabu, 2024-10-16 05:26:50'/config' -- for global config -- Load required modules local checkType = require('libraryUtil').checkType local cfg = mw.loadData(CONFIG_PAGE) local p = {}...
Click to read more »Module:External links
Selasa, 2024-05-28 13:09:32correct) local qualifiers = claim.qualifiers or {} -- now let's check the qualifier we are interested in local qualid = 'P1793' -- format as...
Click to read more »Module:Set
Sabtu, 2021-01-23 16:48:08functions local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local tableTools = require('Module:TableTools') local p...
Click to read more »Module:Check for unknown parameters/testcases/template call
Rabu, 2026-03-25 19:33:21...
Click to read more »Module:Taxonbar/exists
Kamis, 2024-04-18 18:17:43local p = {} function p.check( frame ) local pagename = mw.title.getCurrentTitle().text local content = mw.title.new(pagename):getContent() or '' ...
Click to read more »Module:Unicode data/sandbox
Sabtu, 2025-08-02 23:33:56--[[ -- Checks that the code point is a number and in range. -- Does not check whether code point is an integer. -- Not used local function check_codepoint(funcName...
Click to read more »Module:Excerpt/portals/sandbox
Jumat, 2026-02-06 20:41:50list) end return table.concat(lists, '\n') end -- Check image for suitability local function checkImage(image) if type(image) == "table" then --Infobox...
Click to read more »Module:Category handler/sandbox
Minggu, 2020-05-17 21:35:33CategoryHandler:shouldSkipBlacklistCheck() -- Check whether the category suppression arguments indicate we -- should skip the blacklist check. return self._nocat...
Click to read more »Module:Requested move/sandbox
Selasa, 2024-03-19 09:41:26is not valid, returns false and the -- appropriate error message. -- Check for a small subset of characters that cannot be used in MediaWiki -- titles...
Click to read more »Module:Excerpt
Jumat, 2026-03-06 19:56:17parameters[ p ] then caption = parameters[ p ] break end end -- Check for CSS classes -- We opt to use skin-invert-image instead of skin-invert...
Click to read more »Module:Video game series reviews/sandbox
Jumat, 2023-08-11 09:03:24checkColumn(game, 'mc'); checkColumn(game, 'gr'); checkColumn(game, 'oc'); checkColumn(game, 'fam'); checkColumn(game, 'year'); checkColumn(game...
Click to read more »Module:Urltowiki
Jumat, 2019-11-08 12:05:32period. if not lang or not mw.language.isSupportedLanguage(lang) then -- Check if lang is a valid language code. lang = false end -- A language prefix...
Click to read more »Module:Convert/makeunits
Selasa, 2024-10-22 14:42:28end if not check_condition(condition) then quit('m_def_cond', default, ucode) end return { default1, default2 } end local function check_default(default...
Click to read more »Module:Track gauge/autodocument
Senin, 2024-08-12 19:10:45------------------------------------------------- -- checkData -- Public. Performs various checks on the /data subpage. -- not maintained since ca. 2015...
Click to read more »Module:Complex date
Sabtu, 2020-05-16 02:21:05conj = checkAliases(state.conj ,'' ,'j') state.adj1 ,conj = checkAliases(state.adj1 ,conj,'a') state.units1,conj = checkAliases(state.units1...
Click to read more »Module:User:Mr. Stradivarius/Check ISO 639-1
Selasa, 2024-03-26 14:41:47...
Click to read more »Module:Science redirect
Jumat, 2024-09-13 23:35:57frame:getParent().args local singleNoun, pluralNoun = '', '' local outStr = '' --Check for known parameter 1 local cat = mw.ustring.match(mw.ustring.lower(args[1]...
Click to read more »Module:Color contrast/sandbox
Senin, 2025-03-31 03:29:26contrast}} from a wrapper template. Parameters: -- |1= — required; A color to check. --]] function p.lum(frame) local color = frame.args[1] or frame:getParent()...
Click to read more »Module:Archive list/sandbox
Rabu, 2024-08-14 06:03:40nil end -- Checks whether a page exists, going through pcall in case we are over the -- expensive function limit. local function checkPageExists( title...
Click to read more »Module:Wd/sandbox
Jumat, 2025-08-08 00:45:17"" end end id = id:upper() -- just to be sure if raw then -- check if given id actually exists if mw.wikibase.isValidEntityId(id) and mw...
Click to read more »Module:Mapframe
Senin, 2026-06-01 22:40:49end else cleanArgs[key] = val end end return cleanArgs end --[[ Check if a parameter name matches an unlocalized parameter key @param {string}...
Click to read more »Module:Sports color/doc
Sabtu, 2022-11-12 01:59:10in any of the various color cell2 templates {{#invoke:Sports color|check}} to check to see if a team has defined colors See: Module:Sports color/baseball...
Click to read more »Module:Party name with color
Rabu, 2025-10-08 04:25:26local args = getArgs(frame) local check = require('Module:Check for unknown parameters')._check local tracking = check({ ['unknown']='[[Category:Pages...
Click to read more »Module:Category series navigation/sandbox
Kamis, 2025-12-04 03:48:08.cat..']]' else ttrackingcats[key] = '' end end return end --Check for unknown parameters. --Used by main only. local function checkforunknownparams(...
Click to read more »Module:Redirect template handler/sandbox
Rabu, 2026-02-04 01:37:07modules" } --[[ Local function which validates parameter usage through Module:Check for unknown parameters. If calling module has additional valid args that...
Click to read more »Module:ScribuntoUnit
Rabu, 2026-05-27 01:46:51------------------------------------------------------------------------------- -- Checks that the input is true -- @param message optional description of the test...
Click to read more »Module:Convert/sandbox
Senin, 2026-03-02 10:48:21local function to_en_with_check(text, parms) -- Version of to_en() for a wiki using numdot = ',' and numsep = '.' to check -- text (an input number...
Click to read more »Module:Harvc
Minggu, 2025-01-26 23:13:50override this check ]] local function target_check (anchor_id, ignore) local whitelist_check = require('Module:Footnotes').target_check local args...
Click to read more »Module:Arguments/doc
Kamis, 2026-02-26 17:42:19function is called by another Lua module. In this case, you will need to check the type of your input. This is not a problem if you are using a function...
Click to read more »Module:Check for unknown parameters/testcases/template call/sandbox
Rabu, 2026-03-25 19:31:49...
Click to read more »Module:Storm categories/sandbox
Minggu, 2023-04-23 16:02:43end function p._isEqual(category1, category2) -- Checks if two IDs are equal. -- An {{#ifeq}} check does not consider aliases. This function compares...
Click to read more »Module:Television episode redirect handler
Sabtu, 2026-04-18 10:18:54usage tracking|%s]]" --[[ Helper function which creates a season category, checks if it exists and returns it if it does or an empty string if it doesn't...
Click to read more »Module:Distinguish
Minggu, 2018-04-01 17:06:10--initialize lazily local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.distinguish(frame) mArguments...
Click to read more »Module:ResolveEntityId/sandbox
Rabu, 2022-11-02 22:32:26local p = {} function p._id(idOrTitle, alt) local function checkId(id) if id and mw.wikibase.entityExists(id) then local sitelink = mw.wikibase...
Click to read more »Module:Sandbox/DePiep/uchar
Selasa, 2023-08-01 22:45:17= string.upper( uHexBare0x ) uHex0x = '0x' .. uHexBare0x -- number check uHexNum = tonumber( uHex0x ) -- kills NaN, todo: test this if uHexNum...
Click to read more »Module:File link/sandbox
Kamis, 2014-12-18 21:04:02require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table')...
Click to read more »Module:Infobox mapframe
Senin, 2025-11-24 11:39:55"item" else return nil end end function util.shouldAutoRun(frame) -- Check if should be running local pargs = frame.getParent(frame).args local explicitlyOn...
Click to read more »Module:FindYDCportal/sandbox
Rabu, 2019-10-02 18:11:37]] local p = {} -- This table of existing decade portals is the first check of whether a portal -- exists for a given decade. -- If the decade is listed...
Click to read more »Module:Type in location/sandbox
Jumat, 2023-04-28 01:05:25validateTyp (typ, args) args = args or {} local checkpatterns = args['check-patterns'] local invalidadd = args.invalidadd if checkpatterns then ...
Click to read more »Module:Convert/documentation/conversion data
Senin, 2026-03-02 10:32:53this page rejects unit codes that duplicate a known entry, however, that checking is not performed for the unit codes listed here. The Comment field documents...
Click to read more »Module:US elections imagemap
Selasa, 2021-09-28 10:54:00overrides[state] or string.gsub(linktemplate, "STATE", statenames[state]) -- check for individual state override, if not, swap the state name into the link...
Click to read more »Module:Urltowiki/sandbox
Kamis, 2023-04-13 03:15:12period. if not lang or not mw.language.isSupportedLanguage(lang) then -- Check if lang is a valid language code. lang = false end -- A language prefix...
Click to read more »Module:Labelled list hatnote/sandbox
Kamis, 2025-05-29 01:10:23preprocessDisplays (args, prefixes) -- Prefixes specify which parameters, in order, to check for display options -- They each have numbers auto-appended, e.g. 'label1'...
Click to read more »Module:WPSHIPS utilities
Selasa, 2026-04-07 00:38:23= synonym_check (args_t, 'Ship stricken', 'Ship struck', error_flag); -- error if both synonymous parameters set error_flag = synonym_check (args_t, 'Ship...
Click to read more »Module:Gallery
Senin, 2025-02-10 17:31:44isImage(file) local file = trim(file):lower() -- Case insensitive check -- Check if it starts with "File:", "Image:", or "Media:" local prefix...
Click to read more »Module:Shortcut/sandbox
Jumat, 2025-06-06 00:20:28'Module:Shortcut/config' -- Load required modules local checkType = require('libraryUtil').checkType local yesno = require('Module:Yesno') local p = {}...
Click to read more »Module:Message box/configuration
Senin, 2025-10-20 01:19:49substCheck = true, classes = {'metadata', 'ambox'}, imageEmptyCell = true, imageCheckBlank ...
Click to read more »Module:Userbox/sandbox
Sabtu, 2026-05-16 05:33:28----------------------------------------- local function checkNum(val, default) -- Checks whether a value is a number greater than or equal to zero...
Click to read more »Module:UserLinks/sandbox
Jumat, 2025-11-28 19:06:27string and that it is not the blank string. Returns the code if -- the check passes, and nil if not. if type(code) == 'string' and code ~= '' then...
Click to read more »Module:Flags/sandbox
Minggu, 2020-04-05 23:16:46-- check if name is an original name in translation.fullname and -- return its value, otherwise return nil function check_translation(name)...
Click to read more »Module:Infobox date field metadata
Selasa, 2019-02-26 06:17:07[10] = 31, [11] = 30, [12] = 31 } function checkIfDayValid(day, month, year) -- First check that the month can have at least this many days ...
Click to read more »Module:Sanctions
Sabtu, 2026-03-14 17:11:52customRestrictions = {} local ri = 1 local checkArr = self._topicData.restrictions local breakNext = false while true do if checkArr['restriction'..ri] then ...
Click to read more »Module:RfD
Rabu, 2025-04-16 04:48:47being transcluded, or we can't figure out how to display our target. -- Check if we can find the target. local target = getTargetFromText(args.content)...
Click to read more »Module:Sandbox/Hellknowz/Test
Senin, 2013-09-16 16:24:11[10] = 31, [11] = 30, [12] = 31 } function checkIfDayValid(day, month, year) -- First check that the month can have at least this many days ...
Click to read more »Module:IncrementParams
Kamis, 2022-11-03 00:53:30simply copy and paste the text from this module's documentation. -- STEP 6: Check the output! In rare cases this module might produce false positives. --...
Click to read more »Module:Side box/sandbox
Kamis, 2026-04-02 07:37:30args.image ~= 'none' then data.image = args.image end -- we have to check to see if a downstream use has plainlist like -- Template:Sister_project...
Click to read more »Module:Protection banner/sandbox
Kamis, 2026-04-16 03:24:56ipairs(inactive) do attemptOrder[#attemptOrder + 1] = t end end --[[ -- Check increasingly generic key combinations until we find a match. If a -- specific...
Click to read more »Module:Clickable button/sandbox
Kamis, 2025-10-23 15:48:12(check [[Special:Version]]). --- @todo Check not in User/Draft namespaces. --- @todo Is checkForUnknowns checking validity of input? --- @todo Check if...
Click to read more »Module:Protection banner/config
Sabtu, 2026-04-18 09:24:50padlock -- icons. -- -- The module checks in three separate tables to find a value for each field. -- First it checks the banners table, which has values...
Click to read more »Module:About-distinguish
Senin, 2026-03-16 20:28:26local mTableTools = require('Module:TableTools') local checkType = require('libraryUtil').checkType local p = {} function p.aboutDistinguish (frame) ...
Click to read more »Module:Infobox gene/sandbox
Selasa, 2025-02-04 22:50:47"protected call", return "value error" with error info on error local function check_values(f,args) --local u= table.upack(args) local exist, val = pcall(f...
Click to read more »Module:Rugby box
Kamis, 2023-01-26 03:32:15root:tag('div'):css('clear', 'both') local check = require('Module:Check for unknown parameters')._check local tracking = check({ ['unknown']='[[Category:Pages...
Click to read more »Module:Other uses/sandbox
Rabu, 2025-04-09 11:12:24--initialize lazily local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} -- Produces standard {{other uses}} implementation...
Click to read more »Module:Hatnote list/sandbox
Sabtu, 2023-11-11 06:01:37options) -- Type-checks, defaults, and a shortcut checkType("stringifyList", 1, list, "table") if #list == 0 then return nil end checkType("stringifyList"...
Click to read more »Module:Sidebar
Selasa, 2025-12-30 01:10:22require('strict') local cfg = mw.loadData('Module:Sidebar/configuration') local p = {} local getArgs = require('Module:Arguments').getArgs --[[ Categorizes...
Click to read more »Module:Video game wikidata
Kamis, 2023-08-31 21:42:41reviewer"; end; end; return nil; end; function p.setDateFormat(iDf) -- Check for a date format parameter. Default to mdy if missing. if(iDf ~= nil and...
Click to read more »Module:About
Selasa, 2020-07-14 20:59:23list') local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.about (frame) -- A passthrough...
Click to read more »Module:Road data/parser/sandbox
Sabtu, 2023-07-22 13:12:11ifexists then -- Check existence. if ifexists(defaultValue, key) then return defaultValue end -- Failed existence check results in fallback value...
Click to read more »Module:Redirect hatnote/sandbox
Selasa, 2022-09-06 01:20:21libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local p = {} ...
Click to read more »Module:Party name with color/sandbox
Selasa, 2024-07-02 01:14:01local args = getArgs(frame) local check = require('Module:Check for unknown parameters')._check local tracking = check({ ['unknown']='[[Category:Pages...
Click to read more »Module:Is infobox in lead/sandbox
Senin, 2019-10-07 11:02:05"{{%s-[Ii]nfobox%s-mapframe", "") --don't check for infobox mapframe :gsub( "{{%s-[Ii]nfobo[^}]-%|%s-embed%s-=%s-yes", "") --don't check for embeded infoboxes ...
Click to read more »Module:Infobox television
Selasa, 2026-04-28 18:25:24escaped_link = link:gsub("([%^%$%(%)%%%.%[%]%*%+%-%?])", "%%%1") -- Check if the link is inside a valid <ref> or {{efn|...}} block local inside_ref...
Click to read more »Module:Flagg
Selasa, 2025-11-04 05:18:43template local title = mw.title.new("Template:Country data "..country) --check if redirect if title.isRedirect then text = "<span class=\"plainlinks\">["...
Click to read more »Module:Category described in year
Jumat, 2026-02-13 12:31:12local currEntity = mw.wikibase.getEntity(currQID) if currEntity then --check "Other sites" sitelinks for Wikispecies local currSiteLinks = currEntity...
Click to read more »Module:Highest archive number
Selasa, 2019-10-08 22:47:04end) return success and exists end function p._main(prefix, start) -- Check our inputs if type(prefix) ~= 'string' or not prefix:find('%S') then ...
Click to read more »Module:Namespace detect/sandbox
Sabtu, 2014-04-05 23:58:53function checkValue(value, default) if type(value) == 'string' then return value else return default end end local nsHeader = checkValue(cfg...
Click to read more »Module:Sandbox/DixonD/Datetime/Julian
Minggu, 2013-04-21 00:26:1932204 == 32081 + 122 + 1. end; function this.dateOfJulianDay(JD) -- Check parameters. if JD == nil then return Error.error{"Parameter...
Click to read more »Module:Taxonbar/candidate/sandbox
Selasa, 2023-11-14 20:25:48local p = {} function p.check(frame) local taxonbarExists = require('Module:Taxonbar/exists').check if taxonbarExists(frame) then return '' else...
Click to read more »Module:Effective protection expiry/doc
Senin, 2026-05-04 23:22:08accepts two parameters. The first is a string containing the action to check, which must be one of "edit", "create", "move", "upload", or "autoreview"...
Click to read more »Module:SportsRankings
Kamis, 2023-08-03 23:08:11args) do --check content if v and v ~= "" then templateArgs[k]=v --parents.args[k] end end for k,v in pairs(frame.args) do --check content ...
Click to read more »Module:Checkuser
Sabtu, 2026-03-28 21:10:50prefixedText .. ']]' end return param end)(), 'CheckUser') .. '(' .. link('Special:CheckUserLog', { cuSearch = sock }, 'log') .. ')', ...
Click to read more »Module:User:Mr. Stradivarius/Check ISO 639-1/testcases
Sabtu, 2024-11-16 00:30:02...
Click to read more »Module:User:Mr. Stradivarius/Check ISO 639-1/doc
Selasa, 2024-03-26 14:42:25...
Click to read more »Module:Message box/doc
Jumat, 2025-11-14 23:54:09smallClass – the class to use for small message boxes. substCheck – whether to perform a subst check or not. classes – an array of classes to use with the message...
Click to read more »Module:Detect singular
Kamis, 2025-10-16 13:01:56args[key] = yesNo(origArgs[key],default) end end local checkComma = not args.no_comma local checkAnd = not args.no_and local rewriteLinks = not args.parse_links...
Click to read more »Module:Pagetype/sandbox
Jumat, 2026-06-05 02:43:41contentModel == 'Scribunto' -- don't detect modules or not title.exists -- can't check unless page exists then return nil end local content = title:getContent()...
Click to read more »Module:Video game reviews
Jumat, 2025-08-22 22:53:34categorizePlatformCount(div, #activeSystems) return div end local function checkForWikidata(frame, args, activeSystems, providedAggregators) local wikidata...
Click to read more »Module:Exponential search
Sabtu, 2023-02-11 03:10:53exponential search algorithm. require[[strict]] local checkType = require('libraryUtil').checkType local floor = math.floor local function midPoint(lower...
Click to read more »Module:Protected edit request/sandbox
Selasa, 2025-12-09 15:10:28getCurrentTitle() local skipCheck = yesno(self.args.demo) or yesno(self.args.skiptalk) if not title.isTalkPage and not skipCheck then return '<span class="error">Error:...
Click to read more »Module:Infobox television episode/sandbox
Rabu, 2026-06-03 19:49:08disambiguation then -- If the correct title value has no disambiguation, check if the title used in the infobox is the same as the title used for the correct...
Click to read more »Module:If preview/configuration
Kamis, 2021-05-06 01:56:00--[[ We perform the actual check for whether this is a preview here since preprocessing is relatively expensive. ]] local frame = mw.getCurrentFrame()...
Click to read more »Module:Documentation
Rabu, 2025-03-12 10:38:41docTitle if not subjectSpace or not docTitle then return nil end -- Check whether we should output the end box at all. Add the end -- box by default...
Click to read more »Module:Convert/wikidata
Kamis, 2021-05-06 12:08:27'):gsub('%s+', ' ') local pos = text:find(' ', 1, true) if pos then -- Leave checking of value to convert which can handle fractions. local value = text:sub(1...
Click to read more »Module:Television episode disambiguation description/sandbox
Sabtu, 2020-01-18 02:38:43listed in disambiguation pages]]' } local p = {} -- Local function used to check if the invoking page is a disambiguation page. local function...
Click to read more »Module:Video game release
Kamis, 2026-04-09 00:36:13local label = getLocalLabel(v); -- Didn't find a local label? Check for country data. if (label == nil) then if not v:match('^%s*%[')...
Click to read more »Module:Sports rbr table
Selasa, 2025-04-01 20:57:51offset2 = r2 - p end end end end return c end local function check_arg(k, st) k = tostring(k) or '' if k == 'firstround' or k == 'sortable'...
Click to read more »Module:PopulationFromWikidata/doc
Rabu, 2025-11-12 12:49:59pop_year and pop_footnotes fields. Check if the old pop_footnotes reference had been used elsewhere in the article. Check the output in the article Infobox...
Click to read more »Module:Track listing/sandbox
Minggu, 2025-05-11 20:50:26local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local cfg = mw.loadData('Module:Track listing/configuration')...
Click to read more »Module:Track gauge/doc
Jumat, 2023-11-10 14:26:17includes a function that checks the data page for errors. It is used with the following code: {{#invoke:Track gauge/autodocument|checkData|name of data page}}...
Click to read more »Module:Sanctions/sandbox
Senin, 2026-04-06 22:16:40customRestrictions = {} local ri = 1 local checkArr = self._topicData.restrictions local breakNext = false while true do if checkArr['restriction'..ri] then ...
Click to read more »Module:Taxonbar/sandbox
Rabu, 2025-12-17 19:42:44mainsnak.datavalue and formatterURL.mainsnak.datavalue.value then --nil check for ABA link = formatterURL.mainsnak.datavalue.value end ...
Click to read more »Module:Infobox mapframe/doc
Rabu, 2025-11-19 03:39:00already present. If the template has a call to {{#invoke:Check for unknown parameters|check}}, simply add |mapframe_args=y to the call and the various...
Click to read more »Module:Template parameter value
Kamis, 2025-10-23 22:11:46lenLayers end position = nextClose + 2 else break end end -- Check for any uncaught matches caused by bad input strings for i = #matchLayers...
Click to read more »Module:Type in location/doc
Selasa, 2025-06-03 23:18:46check-patterns = [Mm]useum;foo;bar}} Description only shows if check-pattern is matched in type. Multiple check-patterns can be specified...
Click to read more »Module:Portal-inline/sandbox
Senin, 2026-03-16 21:35:13.sandbox) local getImageName = portalModule._image local checkPortals = portalModule._checkPortals local processPortalArgs = portalModule._processPortalArgs...
Click to read more »Module:Collapsible list/sandbox
Senin, 2026-02-02 05:52:24end end local check = require('Module:Check for unknown parameters')._check local tracking = check({ ['unknown'] = frame:expandTemplate{...
Click to read more »Module:Sports table/sub
Sabtu, 2019-10-26 22:00:36hth_string, hth_local_num, hth_id, k, hth_loc = '', nil, nil, nil, nil -- Check whether there is a head-to-head note or not, if so get text ready for it...
Click to read more »Module:EmojiWiktionaryCheck
Jumat, 2023-11-24 22:09:53--returns true if the emoji has a Wiktionary entry local c2s = {} function c2s.c2s( frame ) local getArgs = require('Module:Arguments').getArgs local...
Click to read more »Module:Taxonbar/exists/doc
Sabtu, 2025-11-08 19:02:47Checks the page for transclusions of {{Taxonbar}} and its redirects, returning true, false, or commented. local taxonbarExists = require('Module:Taxonbar/exists')...
Click to read more »Module:Folger Shakespeare
Minggu, 2024-04-21 19:16:35tonumber(args[2]) local scene = tonumber(args[3]) local line = args[4] -- Check the play argument if play == nil or play == "" then warn("No play argument...
Click to read more »Module:Wdtablerow/listed buildings
Minggu, 2026-05-17 07:21:17with local value end local site_link = mw.wikibase.sitelink(qid) --check if there is a sitelink if site_link then --if there is make the link...
Click to read more »Module:Archive
Sabtu, 2025-05-03 22:40:12dth:-webkit-fill-available;width:stretch') return archiveTable end -- Check to see if the page is likely an annual archive. No talk pages exist --...
Click to read more »Module:Title monthname/sandbox
Jumat, 2020-07-17 01:43:29function checkPagename(pn) -- split the pagename into sparate words titleWords = splitIntoWords(pn) nMatches = 0 myMatches ={} -- check each words...
Click to read more »Module:Sensitive IP addresses/list/validate
Kamis, 2016-09-22 16:50:05loadData(logger) -- Load the data table, logging any errors in the process. -- Check whether the data module can be successfully loaded. local success, data...
Click to read more »Module:RfD close
Sabtu, 2019-03-02 11:17:02--this bit creates the "closed discussion" notice --define function to check whether arguments are defined local args = frame.args local function...
Click to read more »Module:Title monthname
Selasa, 2021-08-17 08:26:09function checkPagename(pn) -- split the pagename into sparate words titleWords = splitIntoWords(pn) nMatches = 0 myMatches ={} -- check each words...
Click to read more »Module:Sandbox/Erutuon/Temperature arrays
Rabu, 2016-10-05 09:35:23message = "" local function add_message(new_message) if show then if check_for_string(message) then message = message .. " " .. new_message else...
Click to read more »Module:Science redirect/sandbox
Senin, 2021-05-17 09:54:39frame:getParent().args local singleNoun, pluralNoun = '', '' local outStr = '' --Check for known parameter 1 local cat = mw.ustring.match(mw.ustring.lower(args[1]...
Click to read more »Module:Convert/wikidata/sandbox
Senin, 2020-12-14 13:00:27'):gsub('%s+', ' ') local pos = text:find(' ', 1, true) if pos then -- Leave checking of value to convert which can handle fractions. local value = text:sub(1...
Click to read more »Module:Date
Rabu, 2026-02-18 10:21:21means there is no unique -- metatable that is conveniently accessible to check. return type(t) == 'table' and t._id == uniq end local function is_diff(t)...
Click to read more »Module:WPSHIPS utilities/sandbox
Senin, 2025-12-29 14:36:53= synonym_check (args_t, 'Ship stricken', 'Ship struck', error_flag); -- error if both synonymous parameters set error_flag = synonym_check (args_t, 'Ship...
Click to read more »Module:TFA title
Selasa, 2025-02-04 16:12:25"" end end -- table case, multiple titles for _, check in pairs( days_title ) do if check == title then return "yes" end end return "" end...
Click to read more »Module:NumberSpell
Selasa, 2014-01-28 19:43:00tostring(max), 2) end -- Check for numbers from 0 to 9. local onesVal = ones[num] if onesVal then return onesVal end -- Check for special numbers. ...
Click to read more »Module:Numcr2namecr
Kamis, 2021-04-29 00:59:56[9838]='&natur;, &natural;', [9839]='&sharp;', [10003]='&check;, &checkmark;', [10007]='&cross;', [10016]='&malt;, &maltese;'...
Click to read more »Module:Video game release/sandbox
Sabtu, 2026-03-14 08:28:28local label = getLocalLabel(v); -- Didn't find a local label? Check for country data. if (label == nil) then if not v:match('^%s*%[')...
Click to read more »Module:Harvc/sandbox
Minggu, 2025-01-26 04:04:40override this check ]] local function target_check (anchor_id, ignore) local whitelist_check = require('Module:Footnotes/sandbox').target_check local...
Click to read more »Module:COVID-19 data
Rabu, 2025-06-11 18:33:20'percent_fully_vaccinated', 'deaths_per_million', 'population' } end -- Check if should show note_vaccination local show_note_vaccination = false if...
Click to read more »Module:Convert/tester
Selasa, 2026-03-03 13:50:15end return '<strong class="error">Error</strong>\n\n' .. result end p.check_sandbox = p.compare function p.make_tests(frame) return main(frame, p...
Click to read more »Module:Armenian
Sabtu, 2023-09-30 10:29:09Exit if the number is not expressible in Armenian numerals. -- FIXME: Check if Armenian numerals can really be made 10,000x bigger through -- overlining...
Click to read more »Module:SportsRankings/sandbox
Kamis, 2023-08-03 22:32:13args) do --check content if v and v ~= "" then templateArgs[k]=v --parents.args[k] end end for k,v in pairs(frame.args) do --check content ...
Click to read more »Module:Article stub box/sandbox
Senin, 2026-03-23 03:12:33takes unlimited cats! This function also performs most stub category error checks except for the ombox for when main |category= is omitted (See p.template())...
Click to read more »Module:Article history/Category
Kamis, 2015-02-12 12:38:12----------------------------------------------- local checkType = require('libraryUtil').checkType local CATEGORY_NS_TEXT = mw.site.namespaces[14].name...
Click to read more »Module:Random portal component/sandbox
Kamis, 2020-10-01 22:17:46local maxNum = tonumber(max) local availableSubPageCount = maxNum -- Check for missing subpages at end of alleged number range while availableSubPageCount...
Click to read more »Module:URL/sandbox
Selasa, 2025-11-11 02:54:01msg) url = mw.text.trim(url or '') text = mw.text.trim(text or '') -- Check for pre-formatted url. Catches '{{url|{{url|google.com}}}}' that can occur...
Click to read more »Module:Infobox mapframe/sandbox
Senin, 2026-02-02 23:39:37"item" else return nil end end function util.shouldAutoRun(frame) -- Check if should be running local pargs = frame.getParent(frame).args local explicitlyOn...
Click to read more »Module:Category handler/config
Rabu, 2020-04-01 13:12:40allowed, and -- the blacklist check is skipped -- nil Categorisation is...
Click to read more »Module:TaxonItalics
Selasa, 2021-10-05 13:34:24============================= Utility function used by other modules to check if a connecting term is present in a name. The value of name is assumed...
Click to read more »Module:Parameter validation
Jumat, 2026-05-15 20:39:27local hasval = not noval if not tp_param and series then -- 2nd chance. check to see if series for s_name, p in pairs(td_params) do if mw.ustring...
Click to read more »Module:Aircraft by nationality
Rabu, 2025-02-05 06:19:17return '<span style="color:'..grey..'">'..disp..'</span>' end end --checks for existance & returns tracking [[Category:Aircraft category navigation...
Click to read more »Module:Multiple image/sandbox
Rabu, 2026-05-27 11:27:52nonautoscaledimages = false local check = require('Module:Check for unknown parameters')._check local tracking = check({ ['unknown'] = frame:expandTemplate{...
Click to read more »Module:Rfx/sandbox
Senin, 2024-11-18 07:08:46= {} local checkSelf = libraryUtil.makeCheckSelfFunction( 'Module:Rfx', 'rfx', obj, 'rfx object' ) -- Get the title object and check to see whether...
Click to read more »Module:Sort title
Kamis, 2020-05-21 02:15:13gsub(title, "(%d+)(,+)", "%1") end --[[ Local function which is used to check if the word is an article. Returns true if it is, false if it isn't. --]]...
Click to read more »Module:Coxeter–Dynkin diagram
Jumat, 2025-03-07 01:43:47-- process params, ignoring any names if (x ~= '') then -- check for null/empty names body = body .. "[[File:CDel_" .. x .. "...
Click to read more »Module:Episode table/sandbox
Jumat, 2025-01-24 17:34:24wrappers = 'Template:Episode table' }) local check = require('Module:Check for unknown parameters')._check local tracking = '' local title = mw.title...
Click to read more »Module:Infobox television season name
Sabtu, 2026-05-16 20:45:57ation(disambiguation) if not disambiguation then return "" end -- Check if the disambiguation is normal 'season #' or 'series #'. -- If so, remove...
Click to read more »Module:Football map
Minggu, 2022-10-23 11:14:31--set if values, otherwise allow mapframe to set automatically (TODO check if longitude and latitude are independent) if zoom then mapString...
Click to read more »Module:WikidataIB/doc
Minggu, 2025-12-21 03:30:35parameters formatNumber formats a number according to the supplied language code checkBlacklist returns true if the field is not blacklisted (i.e. allowed) emptyor...
Click to read more »Module:Team appearances list
Senin, 2026-04-20 17:39:54competition = valid_text('competition') options.team = valid_text('team') -- Check ROC/TPE if options.team=='Republic of China' then local pageYear = tonumber(mw...
Click to read more »Module:Exist not redirect
Minggu, 2024-07-21 02:52:10myArgs[1] local forceFileOnly = myArgs.forcefile -- force File: namespace check only if not myPageName or myPageName == "" then return "" end local...
Click to read more »Module:Video game wikidata/sandbox
Jumat, 2023-08-11 22:13:39reviewer"; end; end; return nil; end; function p.setDateFormat(iDf) -- Check for a date format parameter. Default to mdy if missing. if(iDf ~= nil and...
Click to read more »Module:Random slideshow/sandbox
Minggu, 2024-08-18 18:07:29occur in both gallery-fetched and file-fetched files local function doubleCheck(file) -- disable pipes in wikilinks file = file:gsub( "%[%[([^%]]-)|(...
Click to read more »Module:Sandbox/BartVaes/Bananas
Senin, 2022-10-24 20:31:21entries_list = {} -- Temp check for testcases if (Args["test"] ~= nil) then return "No parameters found." end -- Temp check for data groups if (Args["data5"]...
Click to read more »Module:Sandbox/DixonD/Datetime/Gregorian
Sabtu, 2013-04-20 23:54:0332167 == 32044 + 122 + 1. end; function this.dateOfJulianDay(JD) -- check parameters if JD == nil then return Error.error{"Parameter 1=''Julian...
Click to read more »Module:Sports table/sandbox
Senin, 2025-12-08 22:55:27or qualification', R='Relegation'} local results_defined = false -- Check whether this would be needed -- Possible prefix for result fields local...
Click to read more »Module:Excerpt slideshow/sandbox
Minggu, 2024-08-18 18:09:47in the slideshow local SOURCE_PAGES_LIMIT = 10 -- max number of pages to check for links / list items -- begin BHG addition for tracking source pages...
Click to read more »Module:US elections imagemap/sandbox
Rabu, 2021-01-20 02:20:48overrides[state] or string.gsub(linktemplate, "STATE", statenames[state]) -- check for individual state override, if not, swap the state name into the link...
Click to read more »Module:About/sandbox
Sabtu, 2020-07-04 22:56:17list') local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.about (frame) -- A passthrough...
Click to read more »Module:Article history/config
Jumat, 2024-11-22 11:26:36ignoreerror then if t.entry then local mCheckDYKEntry = require('Module:Check DYK hook') if not mCheckDYKEntry._isValidHook(t.entry) then ...
Click to read more »Module:Biota infobox/param
Sabtu, 2023-12-09 01:00:28infobox/data' ) -- contains the taxon ranks in order -- call parameter checking independently of taxobox display function p.main(frame) p._getArgs(frame)...
Click to read more »Module:Protected edit request/doc
Kamis, 2024-02-15 05:35:31request|function|force=yes}} Override the "must only be on a talk page" check {{#invoke:protected edit request|function|skiptalk=yes}} All parameters...
Click to read more »Module:Lua class
Senin, 2025-08-11 23:03:29private_read for not checking key validity end return value end local function private_write(self_private, key, value) libraryUtil.checkTypeMultiForIndex(key...
Click to read more »Module:Television episode short description/sandbox
Minggu, 2025-10-19 06:26:52mw.title.getCurrentTitle() local namespace = articleTitle.nsText -- Check if the invoking page is from the allowed namespace. if (not (namespace...
Click to read more »Module:Sandbox/Nihiltres/Category manager
Rabu, 2020-01-08 15:19:19local checkType = require('libraryUtil').checkType local p = {} --Global strings and forms local defaults = { badCatListFormat = "Bad category list format...
Click to read more »Module:Disambiguation/doc
Minggu, 2025-12-07 20:21:42_isDisambiguationPage. If you have already have a Title object for the page to check, get the content using the title object's getContent() method, and pass...
Click to read more »Module:PopulationFromWikidata/sandbox
Kamis, 2023-07-20 08:53:41Location local item = nil --------------- Function GetRefsForClaim to check, collate and format all the reference components---------------------- ...
Click to read more »Module:Parameters/sandbox
Sabtu, 2020-07-04 17:56:03_check(args) local title = args.base or mw.title.getCurrentTitle().fullText return string.format( '{{#invoke:Check for unknown parameters|check|unknown='...
Click to read more »Module:SDcat
Sabtu, 2024-02-17 10:57:52--[[ SDcat Module to check whether local short description matches that on Wikidata --]] local p = {} ---------------------------------------------...
Click to read more »Module:Ns has subpages
Sabtu, 2024-02-17 11:01:43to get the namespace from page names. -- Do a quick and dirty bad title check to try and make sure we do the same -- thing as {{NAMESPACE}} in most cases...
Click to read more »Module:Automated taxobox
Selasa, 2026-06-02 13:33:55-- l.setfossilRange(frame, fossilRange, oldestFossil, youngestFossil) checks -- the parameters that determine the fossil range, returning an appropriate...
Click to read more »Module:Track gauge
Minggu, 2024-01-14 16:27:34with unrecognized input]]" end return input .. errorTail end -- Check and set args & tgEntry props: disp, first, nowrap, first local disp = args...
Click to read more »Module:Val
Minggu, 2025-06-01 12:39:35'</span>' end return result .. (options.warning or '') end local function check_parameters(args, has_ranges, nocat) -- Return warning text for the first...
Click to read more »Module:String2/sandbox
Rabu, 2025-02-19 19:23:52then return boolean and 1 or s end return boolean and 0 or '' end -- Checks if a value in a group of numbers is not an interger. -- Allows usage of...
Click to read more »Module:Exist not redirect/sandbox
Minggu, 2025-10-26 08:49:28myArgs[1] local forceFileOnly = myArgs.forcefile -- force File: namespace check only local displayLink = myArgs.link -- option to display link (e.g. [[Japan]]...
Click to read more »Module:Wikipedia ads
Senin, 2019-02-25 05:34:26random(length)] else imageData = imageDataArray[1] end end -- Check that the image data has the required fields. We have already -- checked...
Click to read more »Module:User:Mr. Stradivarius/sandbox5
Selasa, 2014-03-25 08:42:12value end end -- Fetch the result. if field == 'error' then -- Check for missing data. local missingFields = {} for validField in pairs(validFields)...
Click to read more »Module:Disambiguation/sandbox
Minggu, 2025-12-07 20:28:23end -- check for disambiguation templates in the content local templateNames = {} -- remove nowiki content and html comments for this check local activecontent...
Click to read more »Module:WikidataIdentifiers
Selasa, 2022-07-05 00:59:54claims then props = entity.claims[propertyID] end if props then -- Check that the first value of the property is an external id if props[1].mainsnak...
Click to read more »Module:NewDYKnomination/sandbox
Minggu, 2025-11-09 04:51:52by ${AUTHORS}. Number of QPQs required: ${QPQS_REQUIRED}}} ~~~~. <!--${CHECK_CREDITS_WARNING} ${CREDITS} --> * <!-- REPLACE THIS LINE TO WRITE the FIRST...
Click to read more »Module:Sports table/sub/sandbox
Sabtu, 2023-04-08 03:11:46hth_string, hth_local_num, hth_id, k, hth_loc = '', nil, nil, nil, nil -- Check whether there is a head-to-head note or not, if so get text ready for it...
Click to read more »Module:External links/sandbox
Sabtu, 2024-08-10 22:29:38getEntity() -- check if the entity exists -- TODO: check if we can skip distinguishing between no entity vs. no statements if not entity then -- check if the...
Click to read more »Module:Biota infobox
Senin, 2025-05-26 02:40:33getArgs(frame) parameters.getArgs(frame, templateArgs, info) -- gets arguments, checks for value, aliases, and against valid parameter list if info.auto then...
Click to read more »Module:Effective protection level/doc
Sabtu, 2024-10-19 09:16:04accepts two parameters. The first is a string containing the action to check, which must be one of "edit", "create", "move", "upload", "undelete", or...
Click to read more »Module:COVID-19 data/sandbox
Minggu, 2024-08-04 11:35:41'percent_fully_vaccinated', 'deaths_per_million', 'population' } end -- Check if should show note_vaccination local show_note_vaccination = false if...
Click to read more »Module:LangSwitch
Minggu, 2019-02-24 21:36:55defaultCheck(args) if err then return err end -- get the list of accepetable language (lang + those in lang's fallback chain) and check their content...
Click to read more »Module:Cs1 documentation support
Rabu, 2026-02-25 02:24:53-> Check |issn= value {{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_issn|$1=e}} -> Check |eissn= value error...
Click to read more »Module:DYK checklist/data
Kamis, 2023-12-21 01:50:05hidden table sorting code, which inflates bytecount YES = '[[File:Green check.svg|13px|alt=Yes|link=]]', NO = '[[File:Red x.svg|13px|alt=No|link=]]'...
Click to read more »Module:Sandbox/RexxS/Dabcheck
Senin, 2019-05-06 19:01:16--[[ Helper function that checks a piece of text with 3-way match: valid match, invalid match, no match It returns 3 configurable results. The function...
Click to read more »Module:Infobox television/sandbox
Selasa, 2026-05-26 01:46:48escaped_link = link:gsub("([%^%$%(%)%%%.%[%]%*%+%-%?])", "%%%1") -- Check if the link is inside a valid <ref> or {{efn|...}} block local inside_ref...
Click to read more »Module:Sandbox/trappist the monk/airports convert/data/doc
Minggu, 2023-11-26 21:40:26duplicate code check: {{#invoke:IATA and ICAO code|duplicate_check}}...
Click to read more »Module:Sort title/sandbox
Selasa, 2023-04-11 09:28:22gsub(title, "(%d+)(,+)", "%1") end --[[ Local function which is used to check if the word is an article. Returns true if it is, false if it isn't. --]]...
Click to read more »Module:Graph
Sabtu, 2025-07-12 23:57:01end local exponent = string.match(scaleType, "pow%s+(%d+%.?%d+)") -- check for exponent if exponent then scales[1].type = "pow" scales[1].exponent...
Click to read more »Module:Lang-zh
Senin, 2025-12-22 17:26:41body .. label .. val .. "; " end end end if (body > "") then -- check for empty string body = string.sub(body, 1, -3) -- chop off final semicolon...
Click to read more »Module:Article history
Selasa, 2024-08-20 01:12:15format('[%s %s]', url, display) end local function maybeCallFunc(val, ...) -- Checks whether val is a function, and if so calls it with the specified -- arguments...
Click to read more »Module:Category described in year/sandbox
Rabu, 2024-10-02 20:18:11local currEntity = mw.wikibase.getEntity(currQID) if currEntity then --check "Other sites" sitelinks for Wikispecies local currSiteLinks = currEntity...
Click to read more »Module:Clickable button
Sabtu, 2024-07-27 05:19:50then table.insert(data.classes, class) end -- Styles do --[[ -- Check whether we are on the same page as we have specified in -- args[1], but...
Click to read more »Module:Settlement short description
Sabtu, 2022-02-12 23:43:02categories = p.categories..category end --categorize end --sanity and other checks function p.validate (parameter, cat) if not parameter then return nil end...
Click to read more »Module:Episode list/sandbox
Sabtu, 2025-10-11 08:48:25anything about hiding, so only it needs to even check if (sublist) then onInitialPage = onInitialPageCheck -- avoid processing ghost references if...
Click to read more »Module:Database report/facade
Kamis, 2026-01-15 20:24:20end local deprecated_params = { ['frequency'] = 'interval' } -- check for invalid parameters for param, _ in pairs(args) do if deprecated_params[param]...
Click to read more »Module:Gallery/sandbox
Jumat, 2025-02-14 05:38:33isImage(file) local file = trim(file):lower() -- Case insensitive check -- Check if it starts with "File:", "Image:", or "Media:" local prefix...
Click to read more »Module:Sandbox/Galobtter/Short description from country
Rabu, 2023-04-26 14:49:47gsub(n, " U[-]?%d+?", "") --strip U23/U17 etc --if previous nationstring, check if new nationstring --for detecting cases where the person plays --for...
Click to read more »Module:Listen
Jumat, 2022-07-08 00:12:31compressSparseArray(origNumArgs) for i, t in ipairs(origNumArgs) do -- Check if the files exist. local obj = t.filename and mw.title.makeTitle(-2...
Click to read more »Module:Weather box/row
Minggu, 2023-12-10 12:26:45include_space = checkFlag(definition.include_space, true) local second_line = checkFlag(definition.second_line, false) local prefer_cm = checkFlag(definition...
Click to read more »Module:Section link
Minggu, 2024-06-02 21:36:41implements {{section link}}. require('strict'); local checkType = require('libraryUtil').checkType local p = {} local function makeSectionLink(page...
Click to read more »Module:Timeline of release years
Selasa, 2025-10-14 23:22:57local itemNum, itemList, range = items(args, year, oldrange) -- Now check for a new high range and catch it. We need to know what highrange was prior...
Click to read more »Module:Category handler/doc
Jumat, 2025-06-20 01:06:33Instead, you can simply get a title object using mw.title.getCurrentTitle and check the nsText field. For example: local title = mw.title.getCurrentTitle()...
Click to read more »Module:Detect singular/sandbox
Kamis, 2025-10-16 12:59:12args[key] = yesNo(origArgs[key],default) end end local checkComma = not args.no_comma local checkAnd = not args.no_and local rewriteLinks = not args.parse_links...
Click to read more »Module:All Ireland by county category navigation
Senin, 2026-03-23 02:30:26is nowhere in the pagename, then no need for -- more precise checks -- This check would be one line in regex, but Lua pattern matching is cruder,...
Click to read more »Module:UnitTests/sandbox
Minggu, 2026-04-05 12:44:48nothing left to check. elseif size_a == 0 then return true end -- Laborious check: since it's not possible to use table lookups to check if two keys...
Click to read more »Module:Track gauge/autodocument/sandbox
Senin, 2024-08-12 19:10:47------------------------------------------------- -- checkData -- Public. Performs various checks on the /data subpage. -- not maintained since ca. 2015...
Click to read more »Module:IPAc-en/data
Jumat, 2015-06-19 18:38:13local phonemes = makeData(require(PHONEME_MODULE)) -- Check that no pronunciation keys are also contained in the phonemes -- data....
Click to read more »Module:Section link/sandbox
Rabu, 2025-10-08 21:03:32implements {{section link}}. require('strict'); local checkType = require('libraryUtil').checkType local p = {} local function makeSectionLink(page...
Click to read more »Module:Canada by province category navigation
Kamis, 2024-08-22 02:38:54of these Lua patterns, treat it as a false positive local falsePositiveChecks = { "Northern Alberta", "Southern Alberta", "Quebec City", "Central...
Click to read more »Module:CheckUser requests at UTRS
Jumat, 2025-02-07 00:43:25local p = {} function p.main() local UTRS = mw.title.new('User:AmandaNP/UTRS Appeals').content -- get the UTRS table local numberEncountered = 0 --...
Click to read more »Module:Sister project links
Kamis, 2026-04-02 20:52:27if s == "" then return {nil, nil} end local lowerS = s:lower() -- Check for various forms of "yes" if lowerS == 'yes' or lowerS == 'y' or lowerS...
Click to read more »Module:GHS phrases
Rabu, 2026-01-28 22:40:13walked through by a iwalker that reads a singel code, -- then a ikiller checks the upward part of the same table to delete all copies -- ikiller starts...
Click to read more »Module:Sandbox/User:Ahecht/Inflation/sandbox
Rabu, 2024-10-09 19:39:52package.loaders[1](t) or package.loaders[2](t) or false end local function checkYearRangeForError(index, argstartyear, argendyear, datastartyear, dataendyear)...
Click to read more »Module:Fiction redirect category handler/Franchise/sandbox
Senin, 2024-05-06 13:52:51that editors can use instead of the full TV series name. This functions checks if the user-input parameters match the ones on the list, and if they do...
Click to read more »Module:Wd/doc
Senin, 2025-10-20 21:45:41command is used and a reference is encountered (in Wikidata), the module checks if the reference contains an imported from Wikimedia project (P143), inferred...
Click to read more »Module:If any equal
Selasa, 2025-02-04 08:01:03require('strict') local p = {} p.main = function(frame) local check_value = function(value) for n, v in pairs(frame.args) do if type(n)=='number'...
Click to read more »Module:Copied
Minggu, 2026-03-01 06:22:04i]) do text = string.format("%s%s",text,row(args, i)) i = i + 1 --Check if from(i+1) exists end return text end local function multiText(args)...
Click to read more »Module:Weather box/row/sandbox
Kamis, 2023-12-07 12:26:10include_space = checkFlag(definition.include_space, true) local second_line = checkFlag(definition.second_line, false) local prefer_cm = checkFlag(definition...
Click to read more »Module:Interlinear
Jumat, 2024-09-06 16:54:50format_gloss(gloss, label, wikilink) if string.sub(gloss,1,3) == "000" then -- checks for a common component of exposed strip markers (see [[:mw:Strip marker]])...
Click to read more »Module:Unsigned
Rabu, 2026-01-21 06:35:14date theDate = require('Module:Format time')._main{theDate} -- then check if there is a timestamp local theTime = findFromInput('%d%d:%d%d') return...
Click to read more »Module:Graphical timeline
Jumat, 2025-10-10 19:34:46nudge:css("top",checkDim(args.nudgedown-0.75,"em",nil)) nudge:css("left",checkDim(args.nudgeright,"em",nil)) nudge:css("width",checkDim(args.aw,"em"...
Click to read more »Module:Multiple releases
Selasa, 2019-02-26 06:17:07local a = 1 local IsEmpty = true local KeepCheckingForArgs = true while KeepCheckingForArgs == true do local thisBranch = "branch"...
Click to read more »Module:Format ISBN
Senin, 2025-09-29 01:00:37else check = 11 - check; -- calculate the check digit return isbn9 .. ((10 == check) and 'X' or check); -- when <check> is ten...
Click to read more »Module:If not given or empty
Kamis, 2024-07-04 01:00:26-- This module's check_parameter function checks whether a parameter is given, empty, or nonempty in a template call. -- It is intended to be called from...
Click to read more »Module:TaxonItalics/sandbox
Rabu, 2025-05-21 17:40:51============================= Utility function used by other modules to check if a connecting term is present in a name. The value of name is assumed...
Click to read more »Module:Citation/CS1/sandbox2
Selasa, 2023-05-09 21:35:35check |<param>-link= markup orig = lorig; -- identify the failing link parameter elseif title:find ('%[%[') then -- check...
Click to read more »Module:Fiction-based redirects to list entries category handler/RedirectType/sandbox
Senin, 2024-05-06 13:54:11= "", from = "", suffix = "", isFranchise = false} local checkSelf = libraryUtil.makeCheckSelfFunction("Fiction-based redirects to list entries category...
Click to read more »Module:Distinguish/sandbox
Selasa, 2026-05-12 15:00:07--initialize lazily local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.distinguish(frame) mArguments...
Click to read more »Module:Transclude random subpage
Kamis, 2020-11-05 08:40:36limit checking to prevent Lua overload local myMaxCheck = 60 if tonumber(max) < myMaxCheck then myMaxCheck = tonumber(max) end for i=1,myMaxCheck do...
Click to read more »Module:SimpleDebug
Selasa, 2024-10-29 20:50:20MessRaised(p.maxlines.num) error (p.s,0) end end --breakline local function CheckWhereName (wn, what) if wn == nil then return '"'..what..'" == nil' elseif...
Click to read more »Module:Video game reviews/sandbox
Jumat, 2025-08-22 22:36:09categorizePlatformCount(div, #activeSystems) return div end local function checkForWikidata(frame, args, activeSystems, providedAggregators) local wikidata...
Click to read more »Module:Interwiki extra
Rabu, 2026-02-11 20:49:01functions and objects for dealing with interwiki links. local checkType = require('libraryUtil').checkType local interwikiData = mw.loadData('Module:Interwiki...
Click to read more »Module:Template invocation/sandbox
Sabtu, 2024-07-13 19:42:56functions for making MediaWiki template invocations. local checkType = require('libraryUtil').checkType local p = {} -----------------------------------...
Click to read more »Module:Football manager history
Jumat, 2024-11-22 11:17:34_main(args) -- Return wikitext for a navbox. -- Code does not do much checking of inputs but will throw an error -- if input is found to be invalid....
Click to read more »Module:SDcat/sandbox
Jumat, 2020-09-18 19:51:09--[[ SDcat Module to check whether local short description matches that on Wikidata --]] local p = {} ---------------------------------------------...
Click to read more »Module:Archive list alpha
Rabu, 2022-10-12 01:03:23nil end -- Checks whether a page exists, going through pcall -- in case we are over the expensive function limit. local function checkPageExists( title...
Click to read more »Module:Create plant stub
Sabtu, 2022-10-22 04:08:22args) do --check content if v and v ~= "" then args[k]=v --parents.args[k] end end for k,v in pairs(frame.args) do --check content if...
Click to read more »Module:Format ISBN/sandbox
Sabtu, 2023-04-29 06:17:16else check = 11 - check; -- calculate the check digit return isbn9 .. ((10 == check) and 'X' or check); -- when <check> is ten...
Click to read more »Module:Sandbox/genewiki/alllua
Selasa, 2017-04-18 12:53:47"protected call", return "value error" with error info on error local function check_values(f,args) --local u= table.upack(args) local exist, val = pcall(f...
Click to read more »Module:Split article
Sabtu, 2026-05-02 21:36:17local yesno = require("Module:Yesno") local p = {} local function demoCheck(args) return yesno(args["demo"]) or yesno(args["nocat"]) end local function...
Click to read more »Module:Ancient Greek/typing/testcases
Sabtu, 2018-06-30 10:44:46options = { display = tag_Greek, show_difference = true } function tests:check(example, expected) self:equals(code(example), decompose(Latin_to_Greek(example))...
Click to read more »Module:Mass notification
Selasa, 2015-09-08 04:50:23groupSubmodule = GROUP_PAGE_PATH .. groupName -- Load the group submodule and check for errors. local data do local success success, data = pcall(mw.loadData...
Click to read more »Module:SPI archive notice
Rabu, 2022-02-16 20:30:31function p.checkIfSPIMayNeedRename(frame) -- local args = getArgs(frame) -- return p._checkIfSPIMayNeedRename(args) -- end function p.checkIfSPIMayNeedRename(frame)...
Click to read more »Module:If any equal/sandbox
Jumat, 2025-11-07 04:34:19require('strict') local p = {} p.main = function(frame) local check_value = function(value) for n, v in pairs(frame.args) do if type(n)=='number'...
Click to read more »Module:Highest archive number/sandbox
Selasa, 2019-10-01 22:01:53end) return success and exists end function p._main(prefix, start) -- Check our inputs if type(prefix) ~= 'string' or not prefix:find('%S') then ...
Click to read more »Module:Protected edit request/active
Rabu, 2026-04-15 08:14:15getPropertyFunc) -- If the titles table has more than one title in it, check if they have the same property. -- The property is found using the getPropertyFunc...
Click to read more »Module:Ns has subpages/sandbox
Jumat, 2016-06-17 07:51:09to get the namespace from page names. -- Do a quick and dirty bad title check to try and make sure we do the same -- thing as {{NAMESPACE}} in most cases...
Click to read more »Module:Citation/CS1/doc/Importing the Module:Citation/CS1 suite to your wiki
Kamis, 2022-02-03 00:32:37and help links than to assume reader will know/understand.> The module checks if |page= has text like p. pp. etc. before the number. Some variants are...
Click to read more »Module:Format TemplateData
Minggu, 2026-02-08 09:48:03end return r1, r2 end -- feasible() local function feat() -- Check and store parameter sequence. if Data.source then local i = 0 ...
Click to read more »Module:IPA symbol/data/doc
Jumat, 2024-08-30 04:42:48{{IPA link|p|b̥}}. When editing the data, make sure it has no errors by checking the overview below (note, however, that it is not capable of detecting...
Click to read more »Module:Transclusion count/data/C
Minggu, 2026-05-31 12:12:32["Chart_top"] = 4400, ["Check_completeness_of_transclusions"] = 59000, ["Check_talk"] = 63000, ["Check_talk_wp"] = 1450000, ["Check_winner_by_scores"] =...
Click to read more »Module:Goalscorers
Rabu, 2026-06-03 14:22:03do --check content if v and v ~= "" then g.args[k]=mw.text.trim(v) --parents.args[k] end end for k,v in pairs(frame.args) do --check content...
Click to read more »Module:Class
Senin, 2025-06-02 19:35:38'th' or 'td') --image=yes forces icon, image=no disables it, otherwise checks default local icon = iconDefault and (o.image ~= cfg.no) or (o.image ==...
Click to read more »Module:Template parameter value/sandbox
Kamis, 2025-10-23 22:00:38lenLayers end position = nextClose + 2 else break end end -- Check for any uncaught matches caused by bad input strings for i = #matchLayers...
Click to read more »Module:Clade
Kamis, 2024-03-28 23:33:49--[[NOTE: this module contains functions for generating the table structure of the clade tree: The main function is called by the template using the...
Click to read more »Module:Jctint
Kamis, 2024-09-19 07:57:41below main text in the next column local sub1note = args.sub1_note -- check existence later -- Row span for the last location column, default to `jspan`...
Click to read more »Module:Sandbox/Erutuon
Senin, 2019-09-16 16:39:40Check that variant code is valid, and that it can validly be used with the -- given combination of language, script, region, and variant. -- Check for...
Click to read more »Module:Coxeter–Dynkin diagram/sandbox
Rabu, 2020-04-01 21:23:25if (x == 'DOUBLE') then double = true elseif (x ~= '') then -- check for null/empty names body = body .. show_image(x, double) --...
Click to read more »Module:Sandbox/Matroc/Listing
Selasa, 2013-07-30 14:16:01*** MINOR GENERAL ERROR CHECKING AND FIXES *** -- NAME - check to see if REQUIRED name if name == "" then ...
Click to read more »Module:Sandbox/Jts1882/Biota infobox
Kamis, 2024-09-05 22:40:21getArgs(frame) parameters.getArgs(frame, templateArgs, info) -- gets arguments, checks for value, aliases, and against valid parameter list if info.auto then...
Click to read more »Module:Team appearances list/doc
Rabu, 2022-08-24 13:24:28This module implements {{Team appearances list}}. Check there for usage documentation. Module:Team appearances list • Module:Team appearances list/sandbox...
Click to read more »Module:Protection banner/config/sandbox
Kamis, 2026-04-16 03:23:10padlock -- icons. -- -- The module checks in three separate tables to find a value for each field. -- First it checks the banners table, which has values...
Click to read more »Module:Sandbox/Jts1882/Biota infobox/param
Senin, 2022-10-24 04:08:13infobox/data' ) -- contains the taxon ranks in order -- call parameter checking independently of taxobox display function p.main(frame) p._getArgs(frame)...
Click to read more »Module:Lua call
Rabu, 2025-07-30 11:17:19always return 0, regardless of number of unnamed -- template parameters, so check manually instead if frame.args[2] == nil then -- not do tonumber() for...
Click to read more »Module:Infobox television season name/sandbox
Kamis, 2024-08-15 16:28:54ation(disambiguation) if not disambiguation then return "" end -- Check if the disambiguation is normal 'season #' or 'series #'. -- If so, remove...
Click to read more »Module:High-use
Kamis, 2025-10-09 03:24:46local function count_from_args(args) if tonumber(args.count) then -- check if function has already been used return tonumber(args.count) -- early...
Click to read more »Module:Infobox ship
Sabtu, 2026-06-06 12:53:09ship_name_format = utilities._ship_name_format; local synonym_check = utilities._synonym_check; local unbulleted_list = utilities._unbulleted_list; local...
Click to read more »Module:Timeline of release years/sandbox
Selasa, 2025-10-14 23:10:34local itemNum, itemList, range = items(args, year, oldrange) -- Now check for a new high range and catch it. We need to know what highrange was prior...
Click to read more »Module:Mock title
Jumat, 2024-05-17 23:58:52libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local mRepr = require('Module:Repr')...
Click to read more »Module:Sports results/doc
Rabu, 2024-08-21 11:16:50changes. Also note that the module is called from Module:Sports table and check for potential issues there as well after making changes. The rest of this...
Click to read more »Module:Lang/utilities
Kamis, 2025-01-09 21:19:30- to render <text2> Module:Unicode data function: is_Latin - error checking to make sure that <text1> is Latin-script text ]] local function _lang_x2...
Click to read more »Module:Signpost/sandbox
Sabtu, 2022-11-12 11:53:58libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg ...
Click to read more »Module:Sandbox/Polygnotus2
Minggu, 2025-03-30 09:18:33local checkDigit = (11 - remainder) % 11 if checkDigit == 10 then checkDigit = "X" end return isbn10base .. checkDigit end...
Click to read more »Module:Progress box/config
Sabtu, 2025-12-27 08:25:39for [[Module:Progress box]]. return { -- The date at which to start checking for existing categories, in YYYY-MM -- format. ['start-date'] = '2006-10'...
Click to read more »Module:Message box/configuration/sandbox
Rabu, 2025-12-24 06:23:27substCheck = true, classes = {'metadata', 'ambox'}, imageEmptyCell = true, imageCheckBlank ...
Click to read more »Module:Graphical timeline/sandbox
Jumat, 2025-10-10 11:13:11nudge:css("top",checkDim(args.nudgedown-0.75,"em",nil)) nudge:css("left",checkDim(args.nudgeright,"em",nil)) nudge:css("width",checkDim(args.aw,"em"...
Click to read more »Module:Mapframe/sandbox
Selasa, 2026-02-10 19:36:31end else cleanArgs[key] = val end end return cleanArgs end --[[ Check if a parameter name matches an unlocalized parameter key @param {string}...
Click to read more »Module:Storm categories/colors/doc
Jumat, 2023-03-10 10:14:59minimum, or else Module:Storm categories/demo will display errors as a check. As much as possible, also make the colors comply with at least the WCAG's...
Click to read more »Module:Series overview
Sabtu, 2026-04-25 12:14:09infoCell = mw.html.create('td') local attrMatch = '([%a-]*)="([^"]*)"' -- Check if this uses the "attributes | content" format (for {{N/A}}) local pipePos...
Click to read more »Module:Sports results/sandbox
Selasa, 2024-10-08 21:39:12team_note then notes_exist = true -- Only when it exist -- First check for existence of reference for note if not Args['note_'..team_note] then...
Click to read more »Module:Team appearances list/sandbox
Selasa, 2025-07-29 19:58:02competition = valid_text('competition') options.team = valid_text('team') -- Check ROC/TPE if options.team=='Republic of China' then local pageYear = tonumber(mw...
Click to read more »Module:Fb overview
Senin, 2026-03-23 05:12:02getArgs local args = getArgs(frame) -- Get the row numbers and check for invalid input local rownumbers = {} local unknown = {} local showdates...
Click to read more »Module:Service award progress/doc
Senin, 2021-06-28 09:13:23and shows a set of progress bars based on a user's Service award level and their progression up the scale. Check the template for usage documenation....
Click to read more »Module:Archive/sandbox
Minggu, 2025-04-13 03:12:00dth:-webkit-fill-available;width:stretch') return archiveTable end -- Check to see if the page is likely an annual archive. No talk pages exist --...
Click to read more »Module:Sandbox/Gonnym/date
Rabu, 2025-02-26 23:56:19outside of the functions local helpLink local errorCategory -- This function checks if a given year is a leap year. -- A year is a leap year if: -- 1. It is...
Click to read more »Module:Sandbox/Matroc/ASCII code
Senin, 2013-07-01 15:01:30-- Module:ASCII code -- wjk -- User:Matroc -- Minimal error checking - using Lua built in functions string.byte() and string.char() -- could possibly...
Click to read more »Module:MalformedSPIs
Kamis, 2025-01-02 13:02:52json') local page = title and title:getContent() -- Check if the content was fetched correctly if not page or page == "" then...
Click to read more »Module:Armenian/sandbox
Selasa, 2016-04-26 05:05:27Exit if the number is not expressible in Armenian numerals. -- FIXME: Check if Armenian numerals can really be made 10,000x bigger through -- overlining...
Click to read more »