Search Results: Module:Message box/configuration/doc
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:Message
Sabtu, 2024-04-13 01:00:47function(cfg) return function(cfgKey, valArray, expectType) --[[ -- Gets a message from the cfg table and formats it if appropriate. -- The function raises...
Click to read more »Module:Message box
Senin, 2025-10-20 01:19:52lang = mw.language.getContentLanguage() local CONFIG_MODULE = 'Module:Message box/configuration' local DEMOSPACES = {talk = 'tmbox', image = 'imbox'...
Click to read more »Module:Message box/doc
Jumat, 2025-11-14 23:54:09This is a meta-module that implements the message box templates {{mbox}}, {{ambox}}, {{cmbox}}, {{fmbox}}, {{imbox}}, {{ombox}}, and {{tmbox}}. It is...
Click to read more »Module:Message box/sandbox
Rabu, 2026-01-14 07:04:32lang = mw.language.getContentLanguage() local CONFIG_MODULE = 'Module:Message box/configuration/sandbox' local DEMOSPACES = {talk = 'tmbox', image =...
Click to read more »Module:Message box/configuration
Senin, 2025-10-20 01:19:49------------------------------------------ -- Message box configuration -- -- ...
Click to read more »Module:Message box/div/doc
Selasa, 2025-11-04 01:46:29sandbox of Module:Message box. It is intended to get things to be at parity with the main module before deploying to a lot of pages. Message box diff Config...
Click to read more »Module:Message box/tmbox.css
Jumat, 2025-08-29 13:06:51none; padding: 0; width: 1px; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Sandbox/Johnuniq/message
Rabu, 2014-02-05 07:22:41Adapt message() from Module:Documentation/sandbox to test -- Anomie's advice at [[WT:Lua#Module localisation]]: -- mw.message.newRawMessage("text"):params("$1"...
Click to read more »Module:Message box/configuration/sandbox
Rabu, 2025-12-24 06:23:27------------------------------------------ -- Message box configuration -- -- ...
Click to read more »Module:Message box/configuration/doc
Selasa, 2025-09-09 14:24:20Configuration for Module:Message box....
Click to read more »Module:Message box/ombox.css
Jumat, 2025-08-29 13:07:09none; padding: 0; width: 1px; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Message box/fmbox.css
Jumat, 2025-10-17 07:59:48text-align: center; flex: none; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Message box/cmbox.css
Jumat, 2025-10-17 07:55:14text-align: center; flex: none; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Message box/div
Jumat, 2025-10-17 08:14:35lang = mw.language.getContentLanguage() local CONFIG_MODULE = 'Module:Message box/div/configuration' local DEMOSPACES = {talk = 'tmbox', image = 'imbox'...
Click to read more »Module:Message box/imbox.css
Senin, 2025-10-20 01:19:47text-align: center; flex: none; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Message box/div/configuration
Kamis, 2025-10-16 10:43:32------------------------------------------ -- Message box configuration -- -- ...
Click to read more »Module:Message box/sandbox/tmbox.css
Selasa, 2026-05-12 05:17:27.tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background-color: #f8eaba; box-sizing:...
Click to read more »Module:EditAtWikidata/sandbox
Minggu, 2022-03-13 11:13:40Message|local_parameter}} -- {{#invoke:EditAtWikidata|showMessage|qid=<ArticleID>|local_parameter}} local p = {} local i18n = { ["message"] = "Edit...
Click to read more »Module:EditAtWikidata
Rabu, 2025-10-15 02:53:05Message|local_parameter}} -- {{#invoke:EditAtWikidata|showMessage|qid=<ArticleID>|local_parameter}} local p = {} local i18n = { ["message"] = "Edit...
Click to read more »Module:Message box/sandbox/2
Jumat, 2022-10-21 17:01:02-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}...
Click to read more »Module:Message box/testcases
Jumat, 2024-05-03 21:22:53{{ambox/testcases}} {{cmbox/testcases}} {{imbox/testcases}} {{fmbox/testcases}} {{mbox/testcases}} {{ombox/testcases}} {{tmbox/testcases}}...
Click to read more »Module:Article stub box
Senin, 2026-03-23 03:14:13containing parts. (See below) ]] local attention, catTag, catKey = Buffer'Stub message templates needing attention', '[[Category:%s]]', '%s|%s%s' local function...
Click to read more »Module:Citation/CS1
Sabtu, 2026-02-28 22:14:46message to the template's output regardless of how many error actually exist. To prevent duplication, added_vanc_errs is nil until an error message is...
Click to read more »Module:Message box/ambox.css
Selasa, 2025-08-12 08:37:33/* {{pp|small=y}} */ .ambox { border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color:...
Click to read more »Module:Lang
Rabu, 2026-05-13 06:20:12local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Lang/sandbox
Rabu, 2026-05-13 06:17:18local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Citation/CS1/sandbox
Minggu, 2026-04-26 21:34:02message to the template's output regardless of how many error actually exist. To prevent duplication, added_vanc_errs is nil until an error message is...
Click to read more »Module:Message box/div/imbox.css
Jumat, 2025-10-17 08:01:05text-align: center; flex: none; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Message box/div/fmbox.css
Rabu, 2025-10-08 11:57:10text-align: center; flex: none; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:Citation/CS1/Configuration
Sabtu, 2026-02-28 22:14:44maint messages do not have a message (message = nil); otherwise the structure is the same as error messages ]] maint_archive_origin = { message = nil...
Click to read more »Module:Message box/div/cmbox.css
Rabu, 2025-10-01 09:58:51text-align: center; flex: none; } /* keep synced with each other type of message box as this isn't qualified */ .mbox-invalid-type { text-align: center;...
Click to read more »Module:TemplatePar
Kamis, 2023-04-20 01:13:15Failsafe = TemplatePar local GlobalMod = Local -- Module globals Local.messagePrefix = "lua-module-TemplatePar-" Local.L10nDef = {} Local.L10nDef.en =...
Click to read more »Module:Excerpt/portals
Rabu, 2026-05-13 00:55:29local errorCategory = "Articles with broken excerpts" -- Error messages local errorMessages = { prefix = "Excerpt error: ", noPage = "No page given", ...
Click to read more »Module:Portal-inline
Senin, 2026-03-16 21:34:14portalModule._processPortalArgs local p = {} -- Function to format error message and tracking category -- Arguments: -- errMsg: string, or nil/false if...
Click to read more »Module:String
Selasa, 2025-08-12 06:48:56than an error message. error_category: If an error occurs, specifies the name of a category to include with the error message. The default...
Click to read more »Module:Age
Rabu, 2025-12-10 15:08:14various "age of" and other date-related templates. local mtext = { -- Message and other text that should be localized. -- Also need to localize text...
Click to read more »Module:UserLinks
Minggu, 2024-09-01 00:20:30makeUrlLink local makeFullUrlLink = mShared.makeFullUrlLink local message = mShared.message local p = {} ----------------------------------------------...
Click to read more »Module:Political party
Sabtu, 2026-02-21 23:27:56local function create_error(error_message) return string.format('<strong class="error">%s</strong>', error_message) end local function getFirstLetter(party)...
Click to read more »Module:Citation/CS1/Configuration/sandbox
Rabu, 2026-06-03 02:12:03--[[ History of changes since last sync: 2026-02-28 2026-03-25: add cfg.messages['collaboration'] 2026-03-29: Removed 10.1140/epjc, European Physical Journal...
Click to read more »Module:Convert
Kamis, 2026-01-15 09:19:56Configuration options to keep magic values in one location. -- Conversion data and message text are defined in separate modules. local config, maxsigfig local numdot...
Click to read more »Module:ISO 639 name
Kamis, 2024-07-11 22:43:33S >-------------------------------------------------- ]] local error_messages = { ['err_msg'] = '<span style="font-size:100%;" class="error show_639_err_msgs">error:...
Click to read more »Module:Citation/CS1/Identifiers
Senin, 2026-01-19 22:36:14]] local has_accept_as_written, is_set, in_array, set_message, select_one, -- functions in Module:Citation/CS1/Utilities substitute...
Click to read more »Module:Excerpt
Jumat, 2026-03-06 19:56:17hat = Excerpt.getMessage( 'this' ) elseif params.only then hat = Excerpt.getMessage( params.only ) else hat = Excerpt.getMessage( 'section' ) end...
Click to read more »Module:Portal pictures
Jumat, 2021-11-19 07:00:17true }) end local function wikiError(message) return mw.html.create('div'):addClass('error'):wikitext(message) end -- replace all newlines in the string...
Click to read more »Module:String/sandbox
Selasa, 2025-08-12 06:46:44than an error message. error_category: If an error occurs, specifies the name of a category to include with the error message. The default...
Click to read more »Module:Protection banner
Rabu, 2026-02-18 15:46:08initialise modules and objects we don't always need. local getArgs, makeMessageBox, lang -- Set constants. local CONFIG_MODULE = 'Module:Protection banner/config'...
Click to read more »Module:Documentation
Rabu, 2025-03-12 10:38:41$2 etc. in the -- message are substituted with values from the table keys [1], [2] etc. -- For example, if the message "foo-message" had the value 'Foo...
Click to read more »Module:String2
Rabu, 2025-02-19 19:24:59args[1] or frame:getParent().args[1] local error_message = text:match('(<strong class="error">.-</strong>)') return error_message or nil end return p...
Click to read more »Module:Template wrapper
Sabtu, 2022-10-22 04:11:46list. returns name of the working or listed template or nil for an error message ]] local function _main (frame, args, list) local template; local exclude...
Click to read more »Module:Age/sandbox
Selasa, 2025-12-09 10:52:00various "age of" and other date-related templates. local mtext = { -- Message and other text that should be localized. -- Also need to localize text...
Click to read more »Module:ISBN RangeMessage xlate
Sabtu, 2023-09-09 20:53:50page end local range_message_raw = title_object:getContent(); -- get the doc page content local timestamp_pattern = '<MessageDate>%D+(%d%d? %w%w%w...
Click to read more »Module:EditAtWikidata/doc
Jumat, 2024-08-30 04:12:06This message is only displayed if a local_parameter is not supplied, i.e. when called from a template, it can be coded not to display the message when...
Click to read more »Module:Portal maintenance status
Minggu, 2018-12-23 23:46:20a Portal_talk: page's related portal page. -- Returns an appropriate message string if found or '' (empty string) if not found, or an error if used...
Click to read more »Module:Citation/CS1/Identifiers/sandbox
Kamis, 2026-06-04 20:26:17]] local has_accept_as_written, is_set, in_array, set_message, select_one, -- functions in Module:Citation/CS1/Utilities substitute...
Click to read more »Module:Political party/sandbox
Sabtu, 2026-02-21 21:25:57local function create_error(error_message) return string.format('<strong class="error">%s</strong>', error_message) end local function getFirstLetter(party)...
Click to read more »Module:Citation/CS1/Utilities
Minggu, 2026-01-18 02:25:10this module error_msgs_t = {}; -- sequence table of error messages maint_cats_t = {}; -- for categorizing citations that aren't...
Click to read more »Module:UserLinks/sandbox
Jumat, 2025-11-28 19:06:27makeUrlLink local makeFullUrlLink = mShared.makeFullUrlLink local message = mShared.message local p = {} ----------------------------------------------...
Click to read more »Module:Portal
Minggu, 2025-05-25 01:07:03-- trackingCat = possible tracking category -- errorMsg = error message function p._checkPortals(portals, args) local trackingCat = '' local...
Click to read more »Module:Template test case
Kamis, 2025-08-07 00:01:43local function message(self, key, ...) -- This method is added to classes that need to deal with messages from the -- config module. ...
Click to read more »Module:RfD
Rabu, 2025-04-16 04:48:47getTargetFromText = require('Module:Redirect').getTargetFromText local messageBox local mboxText = "'''The purpose of this redirect is currently being...
Click to read more »Module:Article history
Selasa, 2024-08-20 01:12:15huge end local function substituteParams(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeUrlLink(url, display)...
Click to read more »Module:Message box/div/ambox.css
Selasa, 2025-08-26 10:27:51.ambox { border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing:...
Click to read more »Module:Message box/sandbox/ombox.css
Selasa, 2026-05-12 05:17:06.ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; /* Default "notice" gray */ background-color: var(--background-color-neutral-subtle...
Click to read more »Module:Location map
Selasa, 2026-05-26 13:47:54mapData[name] == nil then return '' elseif params then return mw.message.newRawMessage(tostring(mapData[name]), unpack(params)):plain() else return...
Click to read more »Module:Authority control
Sabtu, 2026-02-07 04:46:53function(qid) if qid then return require('Module:EditAtWikidata')._showMessage{ pid = 'identifiers', qid = qid } else return '' end end makeSections(qid...
Click to read more »Module:Redirect
Jumat, 2021-09-10 14:46:37when the bracket parameter is given, as a -- page link. Returns an error message when page does not exist or the redirect -- target cannot be determined...
Click to read more »Module:Wd
Rabu, 2025-07-23 02:53:47end return text end local function throwError(errorMessage, ...) error(errorText(errorMessage, unpack(arg))) end local function replaceDecimalMark(num)...
Click to read more »Module:Math
Jumat, 2026-04-10 21:26:08redundant code. ]] local function err(msg) -- Generates wikitext error messages. return mw.ustring.format('<strong class="error">Formatting error: %s</strong>'...
Click to read more »Module:Submit an edit request
Senin, 2024-12-16 22:29:26function message(key, ...) local params = {...} local msg = cfg[key] if #params < 1 then return msg else return mw.message.newRawMessage...
Click to read more »Module:Citation/CS1/Date validation
Minggu, 2026-01-18 02:25:14>-------------------------------------- ]] local add_prop_cat, is_set, in_array, set_message, substitute, wrap_style; -- imported functions from selected...
Click to read more »Module:Message box/sandbox/ambox.css
Selasa, 2026-05-12 05:16:05.ambox { align-items: center; border: 1px solid #a2a9b1; box-sizing: border-box; display: flex; } /* Single border between stacked boxes. Take into...
Click to read more »Module:Sandbox/SkSlick/messages.json
Selasa, 2025-07-08 19:09:52{ "generic": "A generic message" }...
Click to read more »Module:Separated entries
Senin, 2025-10-13 23:33:18p.main = makeInvokeFunction() p.br = makeInvokeFunction('<br />') p.comma = makeInvokeFunction(mw.message.new('comma-separator'):plain()) return p...
Click to read more »Module:Convert/sandbox
Senin, 2026-03-02 10:48:21Configuration options to keep magic values in one location. -- Conversion data and message text are defined in separate modules. local config, maxsigfig local numdot...
Click to read more »Module:ISO 639 name/sandbox
Selasa, 2024-12-10 03:15:12S >-------------------------------------------------- ]] local error_messages = { ['err_msg'] = '<span style="font-size:100%;" class="error show_639_err_msgs">error:...
Click to read more »Module:I18n/doc
Rabu, 2024-11-20 08:00:27I18n library for message storage in Lua datastores. The module is designed to enable message separation from modules & templates. It has support for handling...
Click to read more »Module:WPSHIPS utilities
Selasa, 2026-04-07 00:38:23>-------------------------------------------------- assembles an error message from message text and category in <error_map_t>. creates a help link to the category...
Click to read more »Module:Protection banner/sandbox
Kamis, 2026-04-16 03:24:56initialise modules and objects we don't always need. local getArgs, makeMessageBox, lang -- Set constants. local CONFIG_MODULE = 'Module:Protection...
Click to read more »Module:Shortcut
Senin, 2024-03-11 10:26:56require('Module:Yesno') local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeCategoryLink(cat)...
Click to read more »Module:English variant notice/sandbox
Senin, 2026-02-16 16:05:22else local message_box = require('Module:Message box').main if not n.image then n.image = 'none' end n['type'] = 'style' return message_box ('tmbox'...
Click to read more »Module:Protected edit request
Minggu, 2025-05-11 03:02:03require('strict') local yesno = require('Module:Yesno') local makeMessageBox = require('Module:Message box').main local getArgs local activeBox -- lazily initialized...
Click to read more »Module:Coordinates
Senin, 2026-01-26 03:35:45supplement) return arg and arg .. supplement or '' end --[[ Formats any error messages generated for display ]] local function errorPrinter(errors) local result...
Click to read more »Module:Error
Kamis, 2025-09-11 22:10:08:cssText(args.style) :wikitext(tostring(args.message or args[1] or error('no message specified', 2))) ) end function p.error(frame) ...
Click to read more »Module:Footnotes
Minggu, 2025-03-02 10:29:01args.ignore then return ''; -- if ignore is true then no message, no category end if article_whitelist and article_whitelist[anchor_id]...
Click to read more »Module:English variant notice
Senin, 2026-05-18 05:39:33else local message_box = require('Module:Message box').main if not n.image then n.image = 'none' end n['type'] = 'style' return message_box ('tmbox'...
Click to read more »Module:TNT/doc
Kamis, 2023-12-28 20:00:22way your module or template will use those translated strings (messages), or if the message has not yet been translated, will fallback to English. When someone...
Click to read more »Module:Error/doc
Jumat, 2024-08-30 04:15:29This module implements {{Error}}. It creates an html message with class "error". Please, see the documentation page there for usage instructions. Module:Warning...
Click to read more »Module:Protected edit request/doc
Kamis, 2024-02-15 05:35:31--> This module produces a message box used to request edits to protected pages. Edit requests can be made for fully protected, template-protected and...
Click to read more »Module:Convert/documentation/conversion data
Senin, 2026-03-02 10:32:53indicated by entering !Message in the Symbol column for the feet entry. There should be no other entries on an error line. The Message text is displayed as...
Click to read more »Module:Country alias
Senin, 2026-04-20 17:47:33countries[data.countryAliases[alias]] local function quit(message) return args.error or error(message) end if not country then return quit('Invalid country...
Click to read more »Module:Citation/CS1/Utilities/sandbox
Kamis, 2026-01-22 22:00:17this module error_msgs_t = {}; -- sequence table of error messages maint_cats_t = {}; -- for categorizing citations that aren't...
Click to read more »Module:Convert/text
Minggu, 2025-10-05 14:15:45used before 2013-09-28 -- All messages that may be displayed if a problem occurs. local all_messages = { -- Message format string: $1=title, $2=text...
Click to read more »Module:ScribuntoUnit
Rabu, 2026-05-27 01:46:51message = details.source or "" if details.message then message = message .. details.message .. "\n" end message =...
Click to read more »Module:URL
Kamis, 2025-11-13 05:08:00point for calling from the forked Template:URL2. This function returns no message by default. It strips out wiki-link markup, html tags, and everything after...
Click to read more »Module:Coordinates/sandbox
Senin, 2026-01-12 03:40:02supplement) return arg and arg .. supplement or '' end --[[ Formats any error messages generated for display ]] local function errorPrinter(errors) local result...
Click to read more »Module:TNT
Minggu, 2020-08-30 14:28:25DESCRIPTION: -- The "msg" function uses a Commons dataset to translate a message -- with a given key (e.g. source-table), plus optional arguments --...
Click to read more »Module:Protect/doc
Rabu, 2022-09-21 04:14:07which may throw an error, into a function, which returns a specified error message in that case. local protect = require('Module:Protect') local protectedFunc...
Click to read more »Module:Citation/CS1/Whitelist
Minggu, 2024-08-18 01:39:09['sheets'] = true, ['trans-map'] = true, }, newsgroup = { ['message-id'] = true, ['newsgroup'] = true, }, report = { ['docket'] = true...
Click to read more »Module:Hatnote
Selasa, 2025-03-18 22:47:33makeWikitextError(msg, helpLink, addTrackingCategory, title) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after...
Click to read more »Module:Location map/sandbox
Selasa, 2026-06-02 04:25:47mapData[name] == nil then return '' elseif params then return mw.message.newRawMessage(tostring(mapData[name]), unpack(params)):plain() else return...
Click to read more »Module:CS1 translator/data
Minggu, 2026-04-26 06:54:08['mensagem-id'] = 'message-id', ['mes'] = nil, -- special case: date: 'Month' -- ['message-id'] = 'MessageID', ['minuto'] = 'minutes'...
Click to read more »Module:Separated entries/sandbox
Senin, 2025-10-13 23:32:53p.main = makeInvokeFunction() p.br = makeInvokeFunction('<br />') p.comma = makeInvokeFunction(mw.message.new('comma-separator'):plain()) return p...
Click to read more »Module:Find sources
Minggu, 2022-02-27 20:33:28data end local function substituteParams(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function renderSearchString(searchTerms...
Click to read more »Module:Text
Sabtu, 2025-04-26 19:19:49number of repetitions, or nil -- accept -- true, if no error messages to be appended -- Returns: string local r = "" apply = type(apply)...
Click to read more »Module:External links
Selasa, 2024-05-28 13:09:32output[#output].category[#output[#output].category+1] = mw.message.newRawMessage(cmodule:getMessage(contLang:getCode(), 'track-cat-local-wd'), props.prop):plain()...
Click to read more »Module:College color/data
Kamis, 2026-06-04 03:28:59ph/reports%20new%20format/2012/092012/Pres%20Message.pdf |title=President's Message |date=September 2012 |access-date=June 2, 2020}}"}, ["FEU-D Baby Tamaraws"]...
Click to read more »Module:External links/conf/Sports
Kamis, 2026-05-28 05:35:58id:gsub(" ", "_") end configured_claims['en'] = { -- { prop='P373', message="[$2 ''$1''] – pictures, videos or audio at [[Wikimedia Commons]]$3", short="[$2...
Click to read more »Module:WPSHIPS utilities/sandbox
Senin, 2025-12-29 14:36:53>-------------------------------------------------- assembles an error message from message text and category in <error_map_t>. creates a help link to the category...
Click to read more »Module:Template wrapper/sandbox
Jumat, 2022-10-21 16:56:15list. returns name of the working or listed template or nil for an error message ]] local function _main (frame, args, list) local template; local fn_name;...
Click to read more »Module:Fiction-based redirects to list entries category handler
Jumat, 2026-05-29 15:04:01redirect categories with non-existent parent categories]]" local ERROR_MESSAGE = "Valid titles are in the style of \"Category:series-name content-type...
Click to read more »Module:Bad title suggestion/doc
Rabu, 2025-07-02 20:57:31This module implements title suggestions for the "Bad title" interface message at MediaWiki:Title-invalid-characters. When the user asks for a page with...
Click to read more »Module:Citation/CS1/Date validation/sandbox
Minggu, 2026-03-29 21:38:23>-------------------------------------- ]] local add_prop_cat, is_set, in_array, set_message, substitute, wrap_style; -- imported functions from selected...
Click to read more »Module:Check isxn
Jumat, 2022-11-04 06:27:58S U P L _ T >-------------------------------------------------- error message supplements for check_isbn(); adapted from a similarly named table at...
Click to read more »Module:Webarchive
Selasa, 2026-02-24 05:19:36western digits local err_warn_msgs = {}; -- error and warning messages local excepted_pages = {}; local month_num = {}; -- for i18n;...
Click to read more »Module:UnitTests
Senin, 2026-04-27 06:17:38= mw.message.newRawMessage(cfg.liveFailureSummary, num_runs, num_failures):plain() live = frame:preprocess(live) else live = mw.message.newRawMessage(cfg...
Click to read more »Module:Succession table monarch/messages
Kamis, 2022-12-08 07:26:39return { name = 'Name', lifespan = 'Lifespan', reignStart = 'Reign start', reignEnd = 'Reign end', notes = 'Notes', family = 'Family', image = 'Image'...
Click to read more »Module:Shindo/messages
Sabtu, 2024-04-13 01:00:49return { noScaleShortCode = "Scale shortcode is required", noIntensity = "Intensity is required", invalidScale = "No such scale $1", invalidIntensity...
Click to read more »Module:Interlinear
Jumat, 2024-09-06 16:54:50Almost-global variables -------------------------- local glossing_type, displaying_messages, free_translation, msg, buffer ------------------- -- General settings...
Click to read more »Module:Convert/text/sandbox
Senin, 2026-03-02 10:38:54used before 2013-09-28 -- All messages that may be displayed if a problem occurs. local all_messages = { -- Message format string: $1=title, $2=text...
Click to read more »Module:Excerpt/portals/sandbox
Jumat, 2026-02-06 20:41:50local errorCategory = "Articles with broken excerpts" -- Error messages local errorMessages = { prefix = "Excerpt error: ", noPage = "No page given", ...
Click to read more »Module:Autotaxobox
Selasa, 2026-03-17 12:06:48colour', args = { 'virus' } } then virus = 'yes' end -- add information message local res = '<p style="float:right">Bold ranks show taxa that will be...
Click to read more »Module:Nihongo
Kamis, 2025-06-19 07:06:39S A G E S >-------------------------------------------------- error messaging; keys to this table are the template base names: 'nihongo', 'nihongo3'...
Click to read more »Module:Template test case/sandbox
Rabu, 2025-08-06 23:54:27local function message(self, key, ...) -- This method is added to classes that need to deal with messages from the -- config module. ...
Click to read more »Module:Convert/makeunits
Selasa, 2024-10-22 14:42:28["unitcode"] = { -- alternative format to generate an error message -- shouldbe = "message that some other unit code should be used", -- }, --...
Click to read more »Module:Toolbar
Rabu, 2019-02-27 01:14:05numKeys(args) local sep = (args.separator or 'pipe') .. '-separator' sep = mw.message.new(sep):plain() local ret = {} for i, v in ipairs(nums) do ret[#ret...
Click to read more »Module:Random
Rabu, 2015-11-11 23:32:54mwsep in ipairs(mwseparators) do if sep == mwsep then return mw.message.new( sep .. '-separator' ):plain() end end return sep end end ...
Click to read more »Module:Native name
Jumat, 2024-10-11 00:06:54['off']=true, ['omit']=true}, -- values accepted by |paren= } local messages_t = { tag_required = 'an IETF language tag as parameter {{{1}}}...
Click to read more »Module:Unicode data
Selasa, 2025-09-16 09:46:49Latn = false local i = 0; -- indexer for use in error messages for codepoint in mw.ustring.gcodepoint(str) do i = i + 1; ...
Click to read more »Module:Protection banner/config
Sabtu, 2026-04-18 09:24:50${CURRENTVERSION} - a link to the page history or the move log, with the -- display message "current-version-edit-display" or -- "current-version-move-display". --...
Click to read more »Module:Documentation/sandbox
Senin, 2026-06-08 11:27:34these messages -- @param {expectType} the type to expect for the message -- @return {string} string corresponding to message local function message(cfgKey...
Click to read more »Module:Redirect/sandbox
Senin, 2023-04-17 04:25:54when the bracket parameter is given, as a -- page link. Returns an error message when page does not exist or the redirect -- target cannot be determined...
Click to read more »Module:Submit an edit request/sandbox
Kamis, 2024-09-05 07:07:59function message(key, ...) local params = {...} local msg = cfg[key] if #params < 1 then return msg else return mw.message.newRawMessage...
Click to read more »Module:Labelled list hatnote
Kamis, 2025-05-29 01:18:35', 'l'}, template = 'Module:Labelled list hatnote' } -- Localizable message strings local msg = { errorSuffix = '#Errors', noInputWarning = 'no page...
Click to read more »Module:UserLinks/extra
Rabu, 2024-08-28 06:55:47makeUrlLink local makeFullUrlLink = mShared.makeFullUrlLink local message = mShared.message local linkFunctions = {} function linkFunctions.coibot(snippets)...
Click to read more »Module:Requested move
Rabu, 2024-03-20 06:51:08function err(msg, numargs, reason, count) -- Generates a wikitext error message local commented = '<!-- {{subst:requested move|' if count ~= 1 then ...
Click to read more »Module:Shortcut/sandbox
Jumat, 2025-06-06 00:20:28require('Module:Yesno') local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeCategoryLink(cat)...
Click to read more »Module:Check isxn/sandbox
Kamis, 2023-04-13 08:54:14S U P L _ T >-------------------------------------------------- error message supplements for check_isbn(); adapted from a similarly named table at...
Click to read more »Module:Time
Kamis, 2025-11-27 22:12:59arguments in a message string using an argument table. ]] local function substitute (msg, args_t) return args_t and mw.message.newRawMessage (msg, args_t):plain()...
Click to read more »Module:Footnotes/sandbox
Jumat, 2025-05-16 04:41:13args.ignore then return ''; -- if ignore is true then no message, no category end if article_whitelist and article_whitelist[anchor_id]...
Click to read more »Module:Political party/doc
Rabu, 2026-02-11 18:49:35Module error messages and resolutions Error message Resolution Lua error: bad argument #1 to 'sub' (string expected, got table). An entry intended for...
Click to read more »Module:Progress box
Rabu, 2023-03-01 11:23:23------------------------------------------------------------------------------- -- Message mixin -- -- This function is mixed into all of the other classes...
Click to read more »Module:Naval Vessel Register URL
Senin, 2025-08-11 23:02:19General purpose error message function to render error messages and categorization ]] local function make_error_message (output, prefix, item, suffix...
Click to read more »Module:Football manager history
Jumat, 2024-11-22 11:17:34concat(self, sep) end, } end local function message(msg, caller, nocat) -- Return formatted message text for an error. -- Can append "#FormattingError"...
Click to read more »Module:Country alias/sandbox
Selasa, 2025-12-09 01:59:46countries[data.countryAliases[alias]] local function quit(message) return args.error or error(message) end if not country then return quit('Invalid country...
Click to read more »Module:CS1 translator
Jumat, 2026-03-06 13:45:32Not qualified by |page= or |pages= so that cs1|2 will emit an error message when both |at= and |page(s)= present. <aliases_t> is a sequence table...
Click to read more »Module:CallAssert/doc
Jumat, 2024-08-30 03:32:01allows it to include the function name and argument values in the error message. local callAssert = require('Module:CallAssert') local result1, result2...
Click to read more »Module:Convert/wikidata
Kamis, 2021-05-06 12:08:27unit's default output unit, -- or return false, t where t is an error message table. -- However, for simplicity a valid result is always returned. ...
Click to read more »Module:IPAddress
Selasa, 2023-02-14 10:16:49e2 80 ac = 226 128 172 -- This is required for MediaWiki:Blockedtext message. return (frame.args[1] or ''):gsub('\226\128[\142\170\172]', ' ') --...
Click to read more »Module:Str find word
Senin, 2023-04-03 07:35:55if yesno(tArgs.explain, false) then report.xpMessage('1.eSep: ' .. eSep) -- dev report.xpMessage('2.pattern: ' .. patstring) -- dev end while...
Click to read more »Module:Protected edit request/sandbox
Selasa, 2025-12-09 15:10:28require('strict') local yesno = require('Module:Yesno') local makeMessageBox = require('Module:Message box').main local getArgs local activeBox -- lazily initialized...
Click to read more »Module:Category series navigation
Minggu, 2026-06-07 23:58:55title ) return mw.title.new( title, 'Category' ).exists end --Warning message handling. local function warningclass( msg ) return mw.text.tag( 'span'...
Click to read more »Module:Subject page header/doc
Minggu, 2026-01-04 10:45:39is used from the interface message MediaWiki:Subjectpageheader, shown at the top of all non-talk pages. The interface message is parsed on every page view...
Click to read more »Module:Citation/CS1/COinS
Sabtu, 2025-04-12 20:48:47RENDER ERROR"); -- one or more couldn't be replaced; insert vague error message value = mw.text.unstripNoWiki (value); -- replace nowiki stripmarkers...
Click to read more »Module:Footnotes/whitelist/doc
Senin, 2024-12-02 22:58:05false-positive error messages for citation wrapper-templates. The anchor IDs listed here instruct Module:Footnotes to suppress error messages for short-cite...
Click to read more »Module:Portal maintenance status/doc
Minggu, 2023-11-19 08:58:18searches a Portal_talk: page's portal page, and returns an appropriate message based if {{Portal maintenance status}} is found in the page's wikitext...
Click to read more »Module:RexxS
Kamis, 2022-11-03 00:49:08returns a hatnote-style warning message in red -- the customisable text of the warning is passed in the parameter 'message' -- it only returns the warning...
Click to read more »Module:String2/sandbox
Rabu, 2025-02-19 19:23:52args[1] or frame:getParent().args[1] local error_message = text:match('(<strong class="error">.-</strong>)') return error_message or nil end return p...
Click to read more »Module:Archive list
Selasa, 2026-02-17 22:19:42'comma' or sep == 'tpt-languages' then return mw.message.new( sep .. '-separator' ):plain() else return sep...
Click to read more »Module:Section sizes
Sabtu, 2026-04-18 10:58:52values as stated in the associated message comment ]] local i18n_t = { -- non-fatal error messaging ['markup removed'] = 'markup removed;...
Click to read more »Module:Convert/wikidata/sandbox
Senin, 2020-12-14 13:00:27unit's default output unit, -- or return false, t where t is an error message table. -- However, for simplicity a valid result is always returned. ...
Click to read more »Module:Sanctions
Sabtu, 2026-03-14 17:11:52rawData.sanctions local aliasMap = rawData.aliases local messageBox = require('Module:Message box') -- Functions local function tableContainsValue(needle...
Click to read more »Module:Time/sandbox
Senin, 2025-05-05 00:40:57arguments in a message string using an argument table. ]] local function substitute (msg, args_t) return args_t and mw.message.newRawMessage (msg, args_t):plain()...
Click to read more »Module:Check for deprecated parameters/doc
Minggu, 2025-12-28 10:36:58It will place the page in a specific category, and display a preview message, when it finds deprecated parameter uses. Note: due to the nature of deprecations...
Click to read more »Module:Tabular data
Jumat, 2021-10-01 05:58:04mw.getContentLanguage() local navbar = require("Module:Navbar") local messages = { ["true"] = "Yes", ["false"] = "No", null = "N/A", } local bgColors...
Click to read more »Module:Wikidata table
Kamis, 2026-02-12 20:56:00Q19842847 = {"Historic Scotland listed building number", name=1} } -- error messages local function errmsg(txt) if debugging then return "Error: " .. txt...
Click to read more »Module:Currency
Sabtu, 2026-04-18 11:04:04then error message return '<span style="font-size:inherit" class="error">{{currency}} – invalid format ([[Template:Currency/doc#Error_messages|help]])</span>';...
Click to read more »Module:Wd/sandbox
Jumat, 2025-08-08 00:45:17end return text end local function throwError(errorMessage, ...) error(errorText(errorMessage, unpack(arg))) end local function replaceDecimalMark(num)...
Click to read more »Module:Labelled list hatnote/sandbox
Kamis, 2025-05-29 01:10:23', 'l'}, template = 'Module:Labelled list hatnote' } -- Localizable message strings local msg = { errorSuffix = '#Errors', noInputWarning = 'no page...
Click to read more »Module:Multilingual
Selasa, 2022-08-09 07:07:40i18n() * int() * isLang() * isLangWiki() * isMinusculable() * isRTL() * message() * sitelink() * tabData() * userLang() * userLangCode() * wikibase() *...
Click to read more »Module:Archive
Sabtu, 2025-05-03 22:40:12function Navigator:message(key, ...) local msg = self.cfg[key] if select('#', ...) > 0 then return mw.message.newRawMessage(msg, ...):plain() else...
Click to read more »Module:Lua banner
Jumat, 2024-04-05 09:45:24local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs...
Click to read more »Module:Lang/documentor tool
Senin, 2025-05-12 23:10:52- Tables: -- LANGUAGE_CATEGORIES -- error_messages -- strings - Functions: -- make_error(message, layout, parent_category, nocat) --...
Click to read more »Module:High-use
Kamis, 2025-10-09 03:24:46sandbox_module_page = 'Module:Sandbox' local system_messages_cat = 'Pages used in system messages needing protection' local sandbox_word = 'sandbox' local...
Click to read more »Module:Citation/CS1/Whitelist/sandbox
Jumat, 2025-11-21 02:47:45['sheets'] = true, ['trans-map'] = true, }, newsgroup = { ['message-id'] = true, ['newsgroup'] = true, }, report = { ['docket'] = true...
Click to read more »Module:IPA symbol/sandbox/testcases
Selasa, 2020-02-11 04:00:46(set message for not-in-list error; currently default return = error message. -- currently: custom_output corresponds with para3 in IPAsym (set message for...
Click to read more »Module:URL/sandbox
Selasa, 2025-11-11 02:54:01point for calling from the forked Template:URL2. This function returns no message by default. It strips out wiki-link markup, html tags, and everything after...
Click to read more »Module:Val
Minggu, 2025-06-01 12:39:35numsep = ',' -- group separator (use ' ' for Italian) local mtext = { -- Message and other text that should be localized. ['mt-bad-exponent'] = 'exponent...
Click to read more »Module:Arbcom election banner
Selasa, 2025-10-21 04:33:53local messageBox = require('Module:Message box') local navbarModule = require('Module:Navbar') local horizontal = require('Module:List').horizontal local...
Click to read more »Module:External links/conf/Sports/sandbox
Minggu, 2026-03-22 13:18:09id:gsub(" ", "_") end configured_claims['en'] = { -- { prop='P373', message="[$2 ''$1''] – pictures, videos or audio at [[Wikimedia Commons]]$3", short="[$2...
Click to read more »Module:Nihongo/sandbox
Rabu, 2025-06-18 17:52:37S A G E S >-------------------------------------------------- error messaging; keys to this table are the template base names: 'nihongo', 'nihongo3'...
Click to read more »Module:Pagetype
Rabu, 2024-05-22 00:35:20if it does not exist exists = true elseif title.namespace==8 and mw.message.new(title.text):exists() then exists = true elseif title.namespace==6...
Click to read more »Module:Television episode disambiguation description
Jumat, 2020-10-23 05:23:02shortDescription -- A short description was not found; Return the error message. end end -- Local function that does the actual main process. local function...
Click to read more »Module:Excerpt/sandbox
Jumat, 2026-03-06 19:54:40hat = Excerpt.getMessage( 'this' ) elseif params.only then hat = Excerpt.getMessage( params.only ) else hat = Excerpt.getMessage( 'section' ) end...
Click to read more »Module:Track gauge
Minggu, 2024-01-14 16:27:34is the cleaned value of args[1]. args[1] is kept as rawInput for error message local searchAlias = '' local rawDisp for k, v in pairs(origArgs) do...
Click to read more »Module:Lang/utilities
Kamis, 2025-01-09 21:19:30>-------------------------------------------------- assembles an error message from template name, message text, help link, and error category. <span style="font-family:...
Click to read more »Module:RfD close
Sabtu, 2019-03-02 11:17:02'#' .. timestamp_string local message_string2 = '|full discussion]].' --Complete the includeonly result message and build the anchor on daily log...
Click to read more »Module:Example/sandbox
Senin, 2025-02-24 12:31:25function(frame) local greeting = "Hello World!" -- Define the greeting message as a local variable. return greeting -- Return the...
Click to read more »Module:UserLinks/shared
Jumat, 2016-12-30 22:21:53Message, demo) local errorMessage, section = mw.ustring.match(encodedMessage, '^(.-)|(.*)$') errorMessage = errorMessage or encodedMessage --...
Click to read more »Module:Mass notification
Selasa, 2015-09-08 04:50:23out]</span>)</small>: ' local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg):params{...}:plain() end local function makeWikitextError(msg)...
Click to read more »Module:Shortcut/config
Rabu, 2021-02-17 01:43:45'[[Wikipedia:Redirect|{{PLURAL:$1|Redirect|Redirects}}]]', -- The error message to display when a shortcut is invalid (is not a string, or -- is the blank...
Click to read more »Module:Native name/sandbox
Kamis, 2023-04-13 09:01:31['off']=true, ['omit']=true}, -- values accepted by |paren= } local messages_t = { tag_required = 'an IETF language tag as parameter {{{1}}}...
Click to read more »Module:Cite IUCN
Rabu, 2026-05-13 01:51:09identifyier parts (or nil when parameter not used) and a message (nil on success, error message else) the identifier portions of the several parameters...
Click to read more »Module:Cite tweet
Minggu, 2026-03-15 18:04:49local err_msgs_t = { -- a sequence of snowflake date error messages; all must be terminated with a semicolon (;) ' <kbd>|date=</kbd>...
Click to read more »Module:Portal/sandbox
Jumat, 2025-09-12 19:30:32-- trackingCat = possible tracking category -- errorMsg = error message function p._checkPortals(portals, args) local trackingCat = '' local...
Click to read more »Module:Error/testcases
Jumat, 2022-03-25 22:48:49{'|message=Example error message', '<strong class="error">Example error message</strong>'}, {'|message = Example error message ', '<strong...
Click to read more »Module:Extract short description
Sabtu, 2022-10-22 04:19:43returns the short description text and true on failure, returns error message and nil ]] local function extract_from_template (frame, article_title...
Click to read more »Module:Math/sandbox
Jumat, 2026-04-10 00:08:08redundant code. ]] local function err(msg) -- Generates wikitext error messages. return mw.ustring.format('<strong class="error">Formatting error: %s</strong>'...
Click to read more »Module:Sanctions/sandbox
Senin, 2026-04-06 22:16:40rawData.sanctions local aliasMap = rawData.aliases local messageBox = require('Module:Message box') -- Functions local function tableContainsValue(needle...
Click to read more »Module:Error/sandbox
Kamis, 2025-09-11 21:56:24:cssText(args.style) :wikitext(tostring(args.message or args[1] or error('no message specified', 2))) ) end function p.error(frame) ...
Click to read more »Module:Shindo/doc
Rabu, 2024-11-20 05:43:50Seismic intensity data generated on Module:Shindo/data. Messages on Module:Shindo/messages. {{#invoke:Shindo|color}} returns styling for a given seismic...
Click to read more »Module:Protect
Rabu, 2019-03-13 19:54:02success then local message = tostring(... or '(no message)') if options.removeLocation then message = string.gsub(message, '^Module:[^:]+:%d+:...
Click to read more »Module:Easter
Sabtu, 2025-05-31 01:00:39formatEasterError(message, ...) if select('#', ... ) > 0 then message = string.format(message, ...) end return "<span class=\"error\">" .. message ...
Click to read more »Module:Roman
Kamis, 2023-02-09 03:14:102) elseif num == 0 then return 'N' end -- Return a message for numbers too big to be expressed in Roman numerals. if num >= 5000000...
Click to read more »Module:Naval Vessel Register URL/sandbox
Jumat, 2022-10-21 17:00:16General purpose error message function to render error messages and categorization ]] local function make_error_message (output, prefix, item, suffix...
Click to read more »Module:GHS phrases
Rabu, 2026-01-28 22:40:13local tArgName = {} -- named parameters (setid, omit, listtype) local tMessagesToShow = {} -- the tail: Preview, Categories -------------------------...
Click to read more »Module:Hatnote/sandbox
Kamis, 2022-08-11 23:24:18makeWikitextError(msg, helpLink, addTrackingCategory, title) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after...
Click to read more »Module:Cs1 documentation support
Rabu, 2026-02-25 02:24:53['journal'] = true, ['jstor'] = true, ['mailinglist'] = true, ['message-id'] = true, ['minutes'] = true, ['MR'] = true, ['network'] = true...
Click to read more »Module:Article history/doc
Jumat, 2024-08-30 03:17:53The Message mixin contains common message-related methods which are available in all classes apart from the Category class. These methods are: Message:message(key...
Click to read more »Module:UserLinks/config
Rabu, 2024-08-28 06:59:33localisation messages for -- -- [[Module:UserLinks]]. See the comments in the code below for explanations -- -- of what each message does. ...
Click to read more »Module:Webarchive/sandbox
Selasa, 2026-02-24 05:18:57western digits local err_warn_msgs = {}; -- error and warning messages local excepted_pages = {}; local month_num = {}; -- for i18n;...
Click to read more »Module:Signpost poll
Kamis, 2025-09-18 23:36:41function message(self, key, params, isPreprocessed) local msg = self.cfg.msg[key] if params and #params > 0 then msg = mw.message.newRawMessage(msg, params):plain()...
Click to read more »Module:ScribuntoUnit/sandbox
Kamis, 2026-01-29 19:46:34local message = details.source if details.message then message = message .. details.message .. "\n" end message = message...
Click to read more »Module:Random/sandbox
Selasa, 2023-04-04 01:40:10mwsep in ipairs(mwseparators) do if sep == mwsep then return mw.message.new( sep .. '-separator' ):plain() end end return sep end end ...
Click to read more »Module:Convert/tester
Selasa, 2026-03-03 13:50:15label = message('does not exist', false) elseif content1 == content2 then label = message('same content', true) else label = message('different'...
Click to read more »Module:Commons link
Kamis, 2024-10-24 17:43:16trackingCats.inconsistent end if default then -- construct warning message if default == wikidata then return trackingCats.commons_link_on_wikidata...
Click to read more »Module:RfD/sandbox
Sabtu, 2025-02-22 02:24:11getTargetFromText = require('Module:Redirect').getTargetFromText local messageBox local mboxText = "'''The purpose of this redirect is currently being...
Click to read more »Module:WikiProject banner/doc
Senin, 2026-06-08 17:42:03detect if it has been substituted instead of transcluded and give an error message. substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>...
Click to read more »Module:Wd/i18n
Rabu, 2025-07-23 02:53:10must specify a function to call", -- equal to the standard module error message ["main-called-twice"] = 'The function "main" cannot be called...
Click to read more »Module:Autotaxobox/sandbox
Kamis, 2025-07-17 19:35:19colour', args = { 'virus' } } then virus = 'yes' end -- add information message local res = '<p style="float:right">Bold ranks show taxa that will be...
Click to read more »Module:Documentation/doc
Rabu, 2026-06-03 22:28:00currently implemented, please leave a message at Template talk:Documentation to get the attention of a developer. The messages that need to be customized to display...
Click to read more »Module:Article history/sandbox
Kamis, 2025-12-18 05:31:22huge end local function substituteParams(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeUrlLink(url, display)...
Click to read more »Module:In lang
Selasa, 2025-11-11 20:56:46wikilinked language names |template=<template name> - customizes error messages created by Module:lang |list-cats=yes - documentation tool returns language-category...
Click to read more »Module:Mw lang
Sabtu, 2022-10-22 16:09:34target_lang_code is invalid, first retrun value is nil; second return value has error message if target_lang_code argument is nil, (missing or empty in the invoke)...
Click to read more »Module:Article stub box/styles.css
Kamis, 2025-01-23 03:49:34/* {{pp-template}} */ /* Article stub message box styles */ .asbox { position: relative; overflow:hidden; } .asbox table { background: transparent;...
Click to read more »Module:NewDYKnomination
Senin, 2024-10-21 15:14:24---------------------------------------- -- Creates a formatted error message that can be used with substitution. local function formatError(msg) return...
Click to read more »Module:Find sources/sandbox
Rabu, 2024-10-16 05:26:50data end local function substituteParams(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function renderSearchString(searchTerms...
Click to read more »Module:Jctint
Kamis, 2024-09-19 07:57:41span for all columns (`jspan` = "junction span") local jspan -- Any error messages produced that will be added to the output local errorMsg = {} -- A specification...
Click to read more »Module:Interlinear/sandbox
Rabu, 2026-01-07 06:23:33Almost-global variables -------------------------- local glossing_type, displaying_messages, free_translation, msg, buffer ------------------- -- General settings...
Click to read more »Module:Biglist
Rabu, 2024-07-10 11:08:40text:match('(%S.-)%s*$') end end local function message(msg, nocat) -- Return formatted message text for an error. -- Can append "#FormattingError"...
Click to read more »Module:Citation/CS1/sandbox2
Selasa, 2023-05-09 21:35:35message to the template's output regardless of how many error actually exist. To prevent duplication, added_vanc_errs is nil until an error message is...
Click to read more »Module:External links/sandbox
Sabtu, 2024-08-10 22:29:38"[pP]%d+") then output[#output].category[1] = mw.message.newRawMessage(cmodule:getMessage(contLangCode, 'track-cat-local-wd'), linkTemplate.prop):plain()...
Click to read more »Module:Convert/doc
Senin, 2026-04-06 23:48:39units Module:Convert/data – unit definitions Module:Convert/text – text messages, and parameter names and values The following modules are optional and...
Click to read more »Module:Shortcut/config/sandbox
Rabu, 2021-02-17 01:34:32'[[Wikipedia:Shortcut|Policy {{PLURAL:$1|shortcut|shortcuts}}]]', -- The error message to display when a shortcut is invalid (is not a string, or -- is the blank...
Click to read more »Module:Progress box/config
Sabtu, 2025-12-27 08:25:39'$1 $3 $2 $4', -- Default preoposition to use with the category-format message. ['dated-category-format-from'] = 'from', -- Display text for the link...
Click to read more »Module:Toolbar/sandbox
Selasa, 2020-05-19 21:04:53numKeys(args) local sep = (args.separator or 'pipe') .. '-separator' sep = mw.message.new(sep):plain() local ret = {} for i, v in ipairs(nums) do ret[#ret...
Click to read more »Module:Citation/CS1/COinS/sandbox
Jumat, 2025-11-21 02:45:55RENDER ERROR"); -- one or more couldn't be replaced; insert vague error message value = mw.text.unstripNoWiki (value); -- replace nowiki stripmarkers...
Click to read more »Module:Progress box/sandbox
Kamis, 2023-04-13 08:21:23local function message(self, key, ...) local msg = self._cfg[key] if not msg then error(string.format("no message found with key '%s'", tostring(key))...
Click to read more »Module:Lang/documentor tool/sandbox
Jumat, 2025-04-11 14:14:34- Tables: -- LANGUAGE_CATEGORIES -- error_messages -- strings - Functions: -- make_error(message, layout, parent_category, nocat) --...
Click to read more »Module:High-use/sandbox
Kamis, 2025-10-09 03:17:31sandbox_module_page = 'Module:Sandbox' local system_messages_cat = 'Pages used in system messages needing protection' local sandbox_word = 'sandbox' local...
Click to read more »Module:Arbcom election banner/sandbox
Rabu, 2025-07-30 13:55:11local messageBox = require('Module:Message box') local navbarModule = require('Module:Navbar') local horizontal = require('Module:List').horizontal local...
Click to read more »Module:Parameter validation/default config
Jumat, 2026-05-15 20:38:37local function create_message(msg) return require('Module:If preview')._warning({ mw.ustring.format('[[templatename]] used with %s.', msg) }) end...
Click to read more »Module:Commons link/sandbox
Kamis, 2024-10-24 17:40:20trackingCats.inconsistent end if default then -- construct warning message if default == wikidata then return trackingCats.commons_link_on_wikidata...
Click to read more »Module:ISBN RangeMessage xlate/doc
Senin, 2026-02-02 01:59:24by translating a local copy of the ISBN RangeMessage. To update <hyphen_pos_t>: copy the new RangeMessage.xml text from the ISBN international export_rangemessage...
Click to read more »Module:External links/conf/Sports/doc
Selasa, 2025-05-13 12:40:01links in articles. These rows are structured as follows: { prop='Pnnnn', message="$3 [$2 ''$1''] <description>", short="[$2 <text>]", langcode='aa', url="...
Click to read more »Module:In lang/sandbox
Sabtu, 2023-07-22 13:11:35wikilinked language names |template=<template name> - customizes error messages created by Module:lang |list-cats=yes - documentation tool returns language-category...
Click to read more »Module:Pagelist
Sabtu, 2026-06-06 20:22:25~= 'string' then return nil end if separators[sep] then return mw.message.new(sep .. '-separator'):plain() else return sep end end local function...
Click to read more »Module:Archive list/sandbox
Rabu, 2024-08-14 06:03:40'comma' or sep == 'tpt-languages' then return mw.message.new( sep .. '-separator' ):plain() else return sep...
Click to read more »Module:Protection banner/config/sandbox
Kamis, 2026-04-16 03:23:10${CURRENTVERSION} - a link to the page history or the move log, with the -- display message "current-version-edit-display" or -- "current-version-move-display". --...
Click to read more »Module:Warning
Senin, 2025-08-11 23:03:58message = msg_loc:format(location[1], location[2], message) else message = msg:format(message) end else message = msg:format(message) end...
Click to read more »Module:Television infoboxes disambiguation check
Senin, 2025-12-22 19:01:57= 6, VALIDATION_TYPE_YEAR_COUNTRY_SEASON_NUMBER = 8 } local debugMessageList = { DEBUG_EMPTY_TITLE = "Debug: Error: Empty title.", DEBUG_NO_DAB...
Click to read more »Module:GHS phrases/sandbox
Rabu, 2026-01-28 23:17:51local tArgName = {} -- named parameters (setid, omit, listtype) local tMessagesToShow = {} -- the tail: Preview, Categories -------------------------...
Click to read more »Module:Documentation/config
Selasa, 2025-10-14 01:10:40Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language...
Click to read more »Module:Template test case/config
Selasa, 2023-10-17 23:42:52------------------------------------------------------------------------------- -- Messages -------------------------------------------------------------------------------...
Click to read more »Module:Webarchive/data
Selasa, 2026-02-24 05:15:39--------------------------------- these tables hold error and warning message text ]] local err_warn_msgs = { date_err = '(Date error)', ...
Click to read more »Module:Attached KML
Jumat, 2026-04-17 01:32:34page link err_prepend = "Attached KML", -- text to prepend to the error messages, when shown at top of page (display=title) cat = { -- tracking categories:...
Click to read more »Module:Find sources/config
Kamis, 2023-03-16 10:37:43Configuration data for [[Module:Find sources]]. return { -- Define the error message and category to be used if the module is used in -- the main namespace...
Click to read more »Module:Harvc
Minggu, 2025-01-26 23:13:50disambiguator returns empty string when params have correct form; error message else ]] local function check_years (year, anchor_year) local y, ay;...
Click to read more »Module:Find sources/autodoc
Senin, 2021-12-06 17:15:44data end local function substituteParams(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function sortKeys(t) local ret = {}...
Click to read more »Module:Article stub box/doc
Rabu, 2026-01-14 20:54:14primary author is User:MSGJ and included code contributions from User:WOSlinker, and User:Od_Mishehu. Category:Stub message templates needing attention (3)...
Click to read more »Module:Citation/CS1/doc
Jumat, 2026-05-15 16:31:30(run) Module:Citation/CS1/testcases/errors (run) – error and maintenance messaging Module:Citation/CS1/testcases/dates (run) – date validation...
Click to read more »Module:Jf-JSON
Kamis, 2016-12-08 10:48:33else message = string.format("%s: %s", message, text) end end if etc ~= nil then message = message .. " (" .. OBJDEF:encode(etc)...
Click to read more »Module:Format TemplateData
Minggu, 2026-02-08 09:48:03function Fault(alert) -- Memorize error message. -- Parameter: -- alert -- string, error message if Data.scream then Data.scream = string...
Click to read more »Module:Footnotes/doc
Selasa, 2025-02-18 03:23:23and variants of those templates. For an explanation of generated error messages and how to alter their appearance, see here. For end-to-end tests of the...
Click to read more »Module:Uses TemplateStyles
Senin, 2026-02-16 08:11:16local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local TNT = require('Module:TNT') local p = {} local...
Click to read more »Module:Babel
Sabtu, 2026-05-23 23:31:27:css('vertical-align', 'middle !important') local userboxes -- Special message for when first argument is blank; otherwise treat it as normal if args[1]...
Click to read more »Module:ScribuntoUnit/doc
Jumat, 2026-01-30 21:43:03assertion to be true, then the test will fail and an error message will be generated. The error message will show which assertion failed verification (other...
Click to read more »Module:Convert/documentation/conversion data/introduction
Minggu, 2026-05-24 14:22:45indicated by entering !Message in the Symbol column for the feet entry. There should be no other entries on an error line. The Message text is displayed as...
Click to read more »Module:Date time/doc
Kamis, 2025-04-10 21:24:50hCalendar microformat markup "time-ago" calculations Returns an error message and category if validation fails. {{#invoke:Date time|generate_date}} {{#invoke:Date...
Click to read more »Module:IPAddress/sandbox
Senin, 2025-12-08 09:27:07e2 80 ac = 226 128 172 -- This is required for MediaWiki:Blockedtext message. return (frame.args[1] or ''):gsub('\226\128[\142\170\172]', ' ') --...
Click to read more »Module:Cite IUCN/sandbox
Jumat, 2025-11-14 23:12:07identifyier parts (or nil when parameter not used) and a message (nil on success, error message else) the identifier portions of the several parameters...
Click to read more »Module:Complex date
Sabtu, 2020-05-16 02:21:05date</div>' elseif operation == 'unknown' then dateStr = tostring(mw.message.new( "exif-unknowndate" ):inLanguage( lang )) .. '<div style="display:...
Click to read more »Module:PageLinks
Rabu, 2026-01-21 05:39:06storing the tracking categories. local demo -- Define a custom error message for this module. local function err(msg, section) local help if section...
Click to read more »Module:Reply to/doc
Kamis, 2026-01-15 14:34:30transcluded with the parent template, and the parent template will show an error message if no names are specified. The |max= parameter sets the maximum number...
Click to read more »Module:Track listing
Senin, 2025-05-12 11:35:39all_writing)) elseif self.all_lyrics and self.all_music then return mw.message.newRawMessage( cfg.lyrics_written_music_composed, self.all_lyrics, fullstop(self...
Click to read more »Module:Archive/config
Senin, 2025-09-29 06:04:27argument is -- specified, the "blurb-period" message is used; otherwise the "blurb-noperiod" -- message is used. -- $1 - the full page name of the current...
Click to read more »Module:Clade/transclude
Jumat, 2025-07-11 22:40:18p.errorMsg = function (message) return '<span class="error">' .. message .. '</span>' end p.warningMsg = function (message) return '<span class="warning"...
Click to read more »Module:Article stub box/sandbox
Senin, 2026-03-23 03:12:33containing parts. (See below) ]] local attention, catTag, catKey = Buffer'Stub message templates needing attention', '[[Category:%s]]', '%s|%s%s' local function...
Click to read more »Module:Warning/doc
Rabu, 2021-11-17 23:43:15This module simply unifies the formatting of all warning messages similar to Module:Error. Currently, it is plain text, but custom formatting may be applied...
Click to read more »Module:WikiProject banner/sandbox/styles.css
Selasa, 2026-02-17 03:07:26.wpbs .banner-shell-inner { /* matching dark color from Module:Message box/tmbox.css */ color:var(--color-base, #202122); background-color:...
Click to read more »Module:Copied
Senin, 2026-06-08 17:15:55local MessageBox = require('Module:Message box') local p = {} local function singleText(args) local from_oldid = args["from_oldid"] or args["from_oldid1"]...
Click to read more »Module:ConvertNumeric/testcases
Senin, 2025-07-28 02:41:31get_error_text(wikitext) local message = frame:preprocess(wikitext):match('<strong class="error"><[^>]+>(.-)<[^>]+></strong>') message = message:match('at line %d+:...
Click to read more »Module:Sensitive IP addresses/blocktext
Minggu, 2018-11-04 13:59:49renderMessage(rawMessage, messageArgs) local message if rawMessage then message = mw.message.newRawMessage(rawMessage) else message = mw.message...
Click to read more »Module:UserLinks/shared/sandbox
Rabu, 2023-01-11 01:52:05Message, demo) local errorMessage, section = mw.ustring.match(encodedMessage, '^(.-)|(.*)$') errorMessage = errorMessage or encodedMessage --...
Click to read more »Module:Pagetype/testcases
Selasa, 2026-02-03 20:30:26'interface message', args = {page = 'MediaWiki:Filetype-missing'},--using default message expected = 'page' }, { group = 'interface message', args...
Click to read more »Module:Portal-inline/sandbox
Senin, 2026-03-16 21:35:13portalModule._processPortalArgs local p = {} -- Function to format error message and tracking category -- Arguments: -- errMsg: string, or nil/false if...
Click to read more »Module:Television crossover note
Rabu, 2019-12-11 20:45:26createErrorMsg(string.format(errorMessages["NOT_A_NUMBER"], name)) return nil end else createErrorMsg(string.format(errorMessages["MISSING_VALUE"], name))...
Click to read more »Module:Road data/util
Rabu, 2023-05-31 03:52:14--- Generates wikitext error messages. function util.err(msg) if msg == nil then error("Unspecified error message") end return format('<strong...
Click to read more »Module:Article history/config
Jumat, 2024-11-22 11:26:36dateList = mw.text.listToText(dates, ', ', ', and ') return mw.message.newRawMessage(blurb, dateList):plain() end return { -----------------------...
Click to read more »Module:Sandbox/Erutuon/Temperature arrays
Rabu, 2016-10-05 09:35:23Error message handling message = "" local function add_message(new_message) if show then if check_for_string(message) then message = message .. "...
Click to read more »Module:Roman/sandbox
Rabu, 2025-01-01 20:22:412) elseif num == 0 then return 'N' end -- Return a message for numbers too big to be expressed in Roman numerals. if num >= 5000000...
Click to read more »Module:Submit an edit request/config
Minggu, 2026-01-11 07:43:40-------------------------------------------------------------------------------- -- Messages --------------------------------------------------------------------------------...
Click to read more »Module:Mapframe
Senin, 2026-06-01 22:40:49"Coordinates/sandbox", "WikidataCoord", "WikidataCoord/sandbox" } } -- Error messages L10n.error = { badDisplayPara = "Invalid display parameter", noCoords...
Click to read more »Module:Archive/sandbox
Minggu, 2025-04-13 03:12:00function Navigator:message(key, ...) local msg = self.cfg[key] if select('#', ...) > 0 then return mw.message.newRawMessage(msg, ...):plain() else...
Click to read more »Module:ISO 639 name/doc
Rabu, 2026-02-25 14:15:01<code>. May return an error message with or without a language name. Optional parameters: |hide-err=yes: suppresses error messages |link=yes: creates link...
Click to read more »Module:London Gazette util
Sabtu, 2022-10-22 04:21:55padding:inherit;">'; local help_link = ' ([[Template:London Gazette#Error messages|help]])'; local supp_error = mw.ustring.format ('%sinvalid...
Click to read more »Module:Cite tweet/sandbox
Jumat, 2026-05-15 21:58:42local err_msgs_t = { -- a sequence of snowflake date error messages; all must be terminated with a semicolon (;) ' <kbd>|date=</kbd>...
Click to read more »Module:Sandbox/Izno
Selasa, 2023-12-26 10:19:21local msg = mw.message.newRawMessage function p.message(frame) local messages = {} table.insert(messages, 'This is an inserted message') local msg1...
Click to read more »Module:Format link
Selasa, 2022-10-04 20:37:11missingArgError(target) mError = require('Module:Error') return mError.error{message = 'Error: no link or target specified! ([[' .. target .. '#Errors|help]])'...
Click to read more »Module:ScribuntoUnit/showcase
Kamis, 2026-01-29 21:35:47"A custom message") end function suite:testAssertTrueFailed() self:assertTrue(false) end function suite:testAssertTrueFailedWithMessage() self:assertTrue(false...
Click to read more »Module:Category see also
Kamis, 2025-04-24 21:18:15-- level information so that we can catch it and format the error -- message as wikitext. error(string.format( "'%s' is not a valid category...
Click to read more »Module:Lua class
Senin, 2025-08-11 23:03:29handled, message = pcall(except.handler) break end end if not handled then return message end end local success, message = xpcall(try_clause...
Click to read more »Module:Section sizes/sandbox
Selasa, 2025-09-23 23:18:11values as stated in the associated message comment ]] local i18n_t = { -- non-fatal error messaging ['markup removed'] = 'markup removed;...
Click to read more »Module:Shortcut/doc
Kamis, 2024-12-05 06:16:07options is a table of options. The following keys are supported: msg - a message to leave after the list of shortcuts. category - if set to false (or a...
Click to read more »Module:Track gauge/sandbox
Selasa, 2023-04-11 08:20:28is the cleaned value of args[1]. args[1] is kept as rawInput for error message local searchAlias = '' local rawDisp for k, v in pairs(origArgs) do...
Click to read more »Module:Category series navigation/doc
Selasa, 2025-08-12 05:41:35category totals If the template encounters an issue, it displays an error message and/or places the category into one or more of the following tracking categories:...
Click to read more »Module:Video game release
Kamis, 2026-04-09 00:36:13end end local out = list.makeList(listformat, items) -- Preview message and category local parameterMsg = require('Module:If preview')._warning({...
Click to read more »Module:Uses TemplateStyles/sandbox
Senin, 2026-02-16 08:08:41local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local TNT = require('Module:TNT') local p = {} local...
Click to read more »Module:Template invocation/testcases
Jumat, 2024-07-19 04:27:38invocation)('foo', a) local message = 'Expected ' .. nw(expected) .. '. Got ' p:assertEquals(expected, liveRes, message .. nw(liveRes) .. ' from live...
Click to read more »Module:Timing
Minggu, 2016-05-29 03:12:03key, ...) local msg = mw.message.new( 'timing-' .. key ) if msg:isBlank() then msg = mw.message.newRawMessage( messages[key] ) end return msg...
Click to read more »Module:Check for unknown parameters/doc
Rabu, 2026-06-03 19:56:33the entries into a tracking category by parameter with a preview error message, use: {{#invoke:Check for unknown parameters|check|unknown=[[Category:Some...
Click to read more »Module:High-use/doc
Selasa, 2025-04-22 22:52:14display the message using {{editnotice}} instead of {{ombox}}. |expiry=: Sets the |expiry= parameter for {{editnotice}}. |system=in system messages: if set...
Click to read more »Module:Sanctions/doc
Senin, 2021-08-09 04:05:38your changes. Be careful when saving changes; syntax errors on /data will cause every transclusion of any GS template to show an ugly red error message....
Click to read more »Module:AfC submission catcheck/doc
Jumat, 2024-07-26 00:04:04allow finding of drafts in improper content categories as well as to suppress the message that a draft has not been submitted when in fact it has been....
Click to read more »Module:DYK checklist
Rabu, 2025-03-05 06:12:13return true end end return false end -- Make a wikitext error message. local function makeWikitextError(msg) return string.format([['''<span...
Click to read more »Module:Authority control/sandbox
Kamis, 2026-06-04 00:40:21function(qid2) if qid2 then return require('Module:EditAtWikidata')._showMessage{ pid = 'identifiers', qid = qid2 } else return '' end end makeSections(qid...
Click to read more »Module:Clade
Kamis, 2024-03-28 23:33:49local message = "Conversion needs wikitext list or newick string in parameters ''list'' or ''newick'' respectively" mw.addWarning(message) return...
Click to read more »Module:Class
Senin, 2025-06-02 19:35:38------------------------------------------- -- Local configuration and messages --------------------------------------------------------------------------------...
Click to read more »Module:Jctint/sandbox
Minggu, 2025-12-14 20:28:01span for all columns (`jspan` = "junction span") local jspan -- Any error messages produced that will be added to the output local errorMsg = {} -- A specification...
Click to read more »Module:Ordinal-cd
Selasa, 2019-02-26 07:16:44function to add append a category to a message. ]] local function output_cat( message, category ) return message .. '[[Category:' .. category .. ']]'...
Click to read more »Module:UserLinks/config/sandbox
Jumat, 2025-11-28 19:06:23localisation messages for -- -- [[Module:UserLinks]]. See the comments in the code below for explanations -- -- of what each message does. ...
Click to read more »Module:UKB
Senin, 2025-11-17 21:33:14getArgs --- Get a localized message. -- @param key The message key -- @param ... Parameters to be passed to the message ($1, $2, etc.) -- @return localized...
Click to read more »Module:Archive/doc
Kamis, 2024-12-12 15:31:48a configuration module at Module:Archive/config. It also uses Module:Highest archive number, Module:Arguments, Module:Yesno, and Module:Message box....
Click to read more »Module:Submit an edit request/config/doc
Selasa, 2019-02-26 05:15:30This module provides configuration data for Module:Submit an edit request. Please see the module comments for a description of what each message does....
Click to read more »Module:Pagetype/sandbox
Jumat, 2026-06-05 02:43:41if it does not exist exists = true elseif title.namespace==8 and mw.message.new(title.text):exists() then exists = true elseif title.namespace==6...
Click to read more »Module:Large category TOC
Rabu, 2025-10-15 20:40:33class="large-cat-toc-title">%s:</span> [%s Top] [%s?from=0 0–9]', mw.message.new('Toc'):plain(), pageurl, pageurl ) } for _, v in ipairs(azupper)...
Click to read more »Module:Transclusion count/data/M
Minggu, 2026-06-07 12:12:51["Module:Message_box"] = 21300000, ["Module:Message_box/ambox.css"] = 3950000, ["Module:Message_box/cmbox.css"] = 546000, ["Module:Message_box/configuration"]...
Click to read more »Module:Val/sandbox
Kamis, 2025-05-29 16:08:52numsep = ',' -- group separator (use ' ' for Italian) local mtext = { -- Message and other text that should be localized. ['mt-bad-exponent'] = 'exponent...
Click to read more »Module:Weather/sandbox
Jumat, 2022-10-21 17:06:22Error message handling local message = "" local function addMessage(newMessage) if ine(message) then message = message .. " " .. newMessage else...
Click to read more »Module:Lua banner/sandbox
Jumat, 2025-11-28 13:29:11local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs...
Click to read more »Module:Requested move/sandbox
Selasa, 2024-03-19 09:41:26function err(msg, numargs, reason, count) -- Generates a wikitext error message local commented = '<!-- {{subst:requested move|' if count ~= 1 then ...
Click to read more »Module:Television infoboxes disambiguation check/sandbox
Selasa, 2025-12-30 10:41:40= 6, VALIDATION_TYPE_YEAR_COUNTRY_SEASON_NUMBER = 8 } local debugMessageList = { DEBUG_EMPTY_TITLE = "Debug: Error: Empty title.", DEBUG_NO_DAB...
Click to read more »Module:Video game release/sandbox
Sabtu, 2026-03-14 08:28:28end end local out = list.makeList(listformat, items) -- Preview message and category local parameterMsg = require('Module:If preview')._warning({...
Click to read more »Module:Large category TOC/sandbox
Kamis, 2024-02-29 08:45:23class="large-cat-toc-title">%s:</span> [%s Top] [%s?from=0 0–9]', mw.message.new('Toc'):plain(), pageurl, pageurl ) } for _, v in ipairs(azupper)...
Click to read more »Module:Currency/sandbox
Senin, 2024-05-20 00:17:36then error message return '<span style="font-size:inherit" class="error">{{currency}} – invalid format ([[Template:Currency/doc#Error_messages|help]])</span>';...
Click to read more »Module:Goalscorers
Rabu, 2026-06-03 14:22:03then local message = 'Invalid round "' .. round .. '" specified. No data found for that round. ' mw.addWarning( message ) p.errorString...
Click to read more »Module:Category series navigation/sandbox
Minggu, 2026-06-07 23:46:34title ) return mw.title.new( title, 'Category' ).exists end --Warning message handling. local function warningclass( msg ) return mw.text.tag( 'span'...
Click to read more »Module:WLink
Jumat, 2020-10-30 22:03:05parameters -- Postcondition: -- Return string; might be error message local lucky = true; local s = false; local r = false; local...
Click to read more »Module:Old XfD multi
Kamis, 2025-11-27 11:47:08local yesno = require('Module:Yesno') local mMessageBox = require('Module:Message box') local TEMPLATE_PAGE = 'Template:Old XfD multi' ...
Click to read more »Module:Jf-JSON/sandbox
Minggu, 2018-02-18 02:54:37else message = string.format("%s: %s", message, text) end end if etc ~= nil then message = message .. " (" .. OBJDEF:encode(etc)...
Click to read more »Module:IPAc-en/data
Jumat, 2015-06-19 18:38:13hard-to-debug errors if it went -- unchecked, so make it cause a big red error message instead. for id in pairs(pronunciation) do if phonemes[id] then error(string...
Click to read more »Module:Sandbox/Deryck Chan/rfdt
Kamis, 2017-02-23 05:03:34local end_string = '</includeonly><noinclude>' return message_string1 .. link_string .. message_string2 .. result_string .. end_string end function rfd...
Click to read more »Module:Documentation/testcases
Jumat, 2026-05-29 01:07:17suite:testMessage() self:assertEquals('sandbox', doc.message('sandbox-subpage')) self:assertEquals('Subpages of this foobar', doc.message('subpages-link-display'...
Click to read more »Module:Spoken Wikipedia
Sabtu, 2025-10-18 07:13:29local function wikiError(message) local ret = mw.html.create('div') :addClass(cfg.i18n.class.err) :wikitext(message) :done() return tostring(ret)...
Click to read more »Module:Emoji
Senin, 2024-03-11 06:36:16a name is not provided, returns 'smiley' (1f603) TODO: return error messages; don't camouflage the erroneous or missing input ]] local function emocode...
Click to read more »Module:Sandbox/Batternut/Ordinal/testcases
Kamis, 2018-02-08 19:17:19langcode), '4th') end function ut:test_English() -- langcode = mw.message.getDefaultLanguage().code local langcode = 'en' self:equals ('1'...
Click to read more »Module:Babel/sandbox
Sabtu, 2026-05-23 23:25:00:css('vertical-align', 'middle !important') local userboxes -- Special message for when first argument is blank; otherwise treat it as normal if args[1]...
Click to read more »Module:Countdown-ymd/sandbox
Jumat, 2026-05-08 05:08:45local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:PopulationFromWikidata
Kamis, 2023-07-20 08:57:48If count of validpopclaims is less than one (eg 0) then return a html message. This checks we have something from which to get a population value and...
Click to read more »Module:Succession table monarch
Sabtu, 2022-12-10 02:06:37TableTools = require('Module:TableTools') local messages = mw.loadData('Module:Succession table monarch/messages') local p = {} p.fromArgs = function(argElements)...
Click to read more »Module:Format link/sandbox
Selasa, 2022-10-04 20:36:21missingArgError(target) mError = require('Module:Error') return mError.error{message = 'Error: no link or target specified! ([[' .. target .. '#Errors|help]])'...
Click to read more »Module:Carousel/doc
Jumat, 2024-08-30 03:32:58standard image syntax: [[File:{{#invoke:carousel | main | name=Komodobish | switchsecs = 5}} | upright=1.25 | center | thumb | message goes here]] →...
Click to read more »Module:Webarchive/data/sandbox
Selasa, 2026-02-24 05:16:24--------------------------------- these tables hold error and warning message text ]] local err_warn_msgs = { date_err = '(Date error)', ...
Click to read more »Module:NumberSpell
Selasa, 2014-01-28 19:43:00format('<strong class="error">Error: %s</strong>', result) -- "result" is the error message. end return p._main(num) end function p._main(num) if type(num) ~=...
Click to read more »Module:Yesno/testcases
Senin, 2026-03-09 22:19:01sandboxValue) local message = "Expected " .. tostring(expected) .. ". Got " suite:assertEquals(expected, liveValue, message .. tostring(liveValue)...
Click to read more »Module:Harvc/sandbox
Minggu, 2025-01-26 04:04:40disambiguator returns empty string when params have correct form; error message else ]] local function check_years (year, anchor_year) local y, ay;...
Click to read more »Module:IP/testcases
Senin, 2026-03-09 22:51:53self:assertThrows(func, message, nil, ...) end function suite:assertTypeError(argIdx, funcName, expected, received, func, ...) local message = string.format(...
Click to read more »Module:Television episode disambiguation description/sandbox
Sabtu, 2020-01-18 02:38:43shortDescription -- A short description was not found; Return the error message. end end -- Local function that does the actual main process. local function...
Click to read more »Module:TOCyears
Jumat, 2021-10-29 03:49:00end top:newline() -- Title div tag local title = args.title or mw.message.new('Toc'):plain() local titleDiv = top:tag('div') titleDiv:attr('class'...
Click to read more »Module:Pagelist/sandbox
Rabu, 2026-06-03 08:24:40~= 'string' then return nil end if separators[sep] then return mw.message.new(sep .. '-separator'):plain() else return sep end end local function...
Click to read more »Module:Protection banner/doc
Kamis, 2026-02-05 22:33:38you are using #invoke directly. If this is not the case, please leave a message on Module talk:Protection banner. Error: reasons cannot contain the pipe...
Click to read more »Module:Clade/sandbox
Jumat, 2026-01-16 16:14:49local message = "Conversion needs wikitext list or newick string in parameters ''list'' or ''newick'' respectively" mw.addWarning(message) return...
Click to read more »Module:Football manager history/sandbox
Jumat, 2024-11-22 10:21:34concat(self, sep) end, } end local function message(msg, caller, nocat) -- Return formatted message text for an error. -- Can append "#FormattingError"...
Click to read more »Module:Documentation/config/sandbox
Selasa, 2026-05-26 23:45:15Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language...
Click to read more »Module:Interwiki extra
Rabu, 2026-02-11 20:49:01do the same here. page = mw.uri.encode(page, 'WIKI') return mw.message.newRawMessage(self.url, page):plain() end function Prefix:isValidUrl(url) ...
Click to read more »Module:Section link
Minggu, 2024-06-02 21:36:41link]]}}</span>: required section parameter(s) missing</span>'); -- emit error message and abandon end return p._main(page, sections, options) end return...
Click to read more »Module:Weather/doc
Selasa, 2016-09-13 17:23:17invalid value results in the corresponding cell being blank with no error message or tracking category. The following functions are available: The following...
Click to read more »Module:Old moves
Kamis, 2026-02-26 07:12:27This module implements {{Old move}}. local p = {} local messageBox = require('Module:Message box') local yesno = require('Module:Yesno') local dateModule...
Click to read more »Module:Sandbox/Mr. Stradivarius/Check ISO 639-1
Selasa, 2024-03-26 14:33:27Error message on receiving invalid input. %s is the input passed to the module, and should be included in the message exactly once. cfg.errorMessage = 'Error:...
Click to read more »Module:Archive/config/sandbox
Sabtu, 2025-09-20 16:54:56argument is -- specified, the "blurb-period" message is used; otherwise the "blurb-noperiod" -- message is used. -- $1 - the full page name of the current...
Click to read more »Module:Countdown
Minggu, 2020-08-02 12:54:21local getArgs = require('Module:Arguments').getArgs local function formatMessage(secondsLeft, event, color) local timeLeft = lang:formatDuration(secondsLeft...
Click to read more »Module:Wd/doc
Senin, 2025-10-20 21:45:41neither Cite web nor Cite Q could be used to display a reference, an error message with an explanation is returned. To fix this error, check if the reference...
Click to read more »Module:About/doc
Sabtu, 2026-02-14 00:59:17string that can be used to substitute the form of the initial "about" message. It should include two substitution points: the first for the page type...
Click to read more »Module:WP
Sabtu, 2022-10-22 05:02:57returns formatted error message that is less strident than error() or standard MediaWiki error messages TODO: add link to template page for...
Click to read more »Module:Unicode data/sandbox
Sabtu, 2025-08-02 23:33:56Latn = false local i = 0; -- indexer for use in error messages for codepoint in mw.ustring.gcodepoint(str) do i = i + 1; ...
Click to read more »Module:Protected edit request/active
Rabu, 2026-04-15 08:14:15require('strict') local yesno, makeMessageBox -- passed in from Module:Protected edit request local makeToolbar = require('Module:Toolbar')._main local...
Click to read more »Module:Taxon authority
Sabtu, 2019-07-06 00:50:43output = l.errmsg("wikidata item not found") -- return error message output = name -- return unlinked...
Click to read more »Module:Sandbox/MJL/citation
Senin, 2022-10-24 04:17:31error message if utilities.is_set(error_message) then -- once we've added the first portion of the error message ... error_message = error_message...
Click to read more »Module:Protect/testcases
Senin, 2018-11-19 21:20:05foo}}') ) self:equals( 'No caught message', protect(error)(), self.frame:preprocess('{{Error|Error: (no message)}}') ) self:equals( 'Custom...
Click to read more »Module:EditAtWikidata/testcases
Minggu, 2018-08-19 17:39:07'Universe{{#invoke:EditAtWikidata/sandbox|showMessage|qid=Q1}}', 'Universe{{#invoke:EditAtWikidata|showMessage|qid=Q1}}' ) end function p:test1_nowiki()...
Click to read more »Module:Citation/CS1/doc/Category list
Minggu, 2021-03-07 02:50:12Category:CS1 errors: markup Category:CS1 errors: medRxiv Category:CS1 errors: message-id Category:CS1 errors: missing name Category:CS1 errors: missing periodical...
Click to read more »Module:Easter/sandbox
Senin, 2016-07-25 10:18:13formatEasterError(message, ...) if select('#', ... ) > 0 then message = string.format(message, ...) end return "<span class=\"error\">" .. message ...
Click to read more »Module:Time ago
Rabu, 2021-02-03 01:35:13Check that the entered timestamp is valid. If it isn't, then give an error message. local success, inputTime = pcall( lang.formatDate, lang, 'xnU', args[1]...
Click to read more »Module:Sandbox/Matthiaspaul/Citation/CS1/Configuration
Rabu, 2025-05-28 22:02:34Help_talk:Citation_Style_1#section_TODO 2020-06-01: tweak trans-missing-title error messaging; Help_talk:Citation_Style_1#Possible_improved_treatment_of_title_para...
Click to read more »Module:Sandbox/Matthiaspaul/Citation/CS1/Utilities
Selasa, 2020-06-16 10:15:41-- for categorizing citations that contain errors error_ids = {}; message_tail = {}; maintenance_cats = {}; -- for categorizing citations...
Click to read more »Module:Sandbox/Gonnym/sometest7
Kamis, 2019-12-12 01:06:41format(errorMessages["MISSING_VALUE"], "link" .. paramNumber)) end if (not season) then createErrorMsg(string.format(errorMessages["MISSING_VALUE"]...
Click to read more »Module:Check for conflicting parameters/doc
Minggu, 2025-12-28 10:35:17used to for the text of the preview warning message. When omitted, the module will use a generic message. {{Infobox | above = {{{name|}}} | label1 =...
Click to read more »Module:Section link/sandbox
Rabu, 2025-10-08 21:03:32link]]}}</span>: required section parameter(s) missing</span>'); -- emit error message and abandon end return p._main(page, sections, options) end return...
Click to read more »Module:Infobox multi-lingual name
Jumat, 2026-05-08 04:51:28language code or obvious derivations thereof for error messaging create a separate ibox? else messages are not necessarily visible ]] require('strict');...
Click to read more »Module:Clickable button/sandbox
Kamis, 2025-10-23 15:48:12errorText string|nil Internal string used both as error indicator, and error message text. --- @field private tblClasses table Classes for the button span tag...
Click to read more »Module:ISO 639 name/ISO 639-3/make/doc
Jumat, 2024-08-30 04:46:33crude error checking that will insert an error message in the output. No guarantees that such messaging will be helpful. Search for the word 'error' in...
Click to read more »Module:Lang/data/iana languages/make/doc
Jumat, 2024-08-30 05:06:01crude error checking that will insert an error message in the output. No guarantees that such messaging will be helpful. Search for the word 'error' in...
Click to read more »Module:Sandbox/SamuelRiv
Senin, 2022-10-24 04:17:21message to the template's output regardless of how many error actually exist. To prevent duplication, added_vanc_errs is nil until an error message is...
Click to read more »Module:Submit an edit request/config/sandbox
Sabtu, 2021-07-17 07:34:56-------------------------------------------------------------------------------- -- Messages --------------------------------------------------------------------------------...
Click to read more »Module:USN fleet totals
Sabtu, 2023-07-22 22:33:30args_t[1] then -- no, but not nil so emit appropriate error message return '<span style="color:#d33"><kbd>{{[[Template:' .. template_name...
Click to read more »Module:Sandbox/Danmichaelo
Minggu, 2014-09-14 23:34:14local z = { error_categories = {}; error_ids = {}; message_tail = {}; } -- Whether variable is set or not function is_set( var ) return not (var...
Click to read more »Module:Sandbox/Matt Fitzpatrick/Shortcut
Rabu, 2016-04-27 17:00:52require('Module:Yesno') local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeCategoryLink(cat)...
Click to read more »Module:Split article
Sabtu, 2026-05-02 21:36:17local MessageBox = require("Module:Message box") local yesno = require("Module:Yesno") local p = {} local function demoCheck(args) return yesno(args["demo"])...
Click to read more »Module:Include timeline
Jumat, 2014-11-28 13:04:06'{{safesubst:Include timeline}}' end else return require('Module:Message box').main('mbox', { type = 'move', image = '[[File:Splitsection...
Click to read more »Module:ConvertNumeric/sandbox/testcases
Rabu, 2023-02-08 05:07:14get_error_text(wikitext) local message = frame:preprocess(wikitext):match('<strong class="error"><[^>]+>(.-)<[^>]+></strong>') message = message:match('at line %d+:...
Click to read more »Module:Hidden ping/doc
Jumat, 2024-08-30 04:38:53currently supports as of August 2015[update]). If this number of names is exceeded, the parent template will return an error message when previewed....
Click to read more »Module:Tabular data/sandbox
Kamis, 2021-07-01 15:55:32mw.getContentLanguage() local navbar = require("Module:Navbar") local messages = { ["true"] = "Yes", ["false"] = "No", null = "N/A", } local bgColors...
Click to read more »Module:CallAssert
Rabu, 2019-03-13 19:54:41argsCount) local message = mw.ustring.format( '%s(%s) failed', funcName, table.concat(args, ', ') ) error(message, 2) end return unpack(result...
Click to read more »Module:Spoken Wikipedia/sandbox
Senin, 2025-05-19 21:16:28local function wikiError(message) local ret = mw.html.create('div') :addClass(cfg.i18n.class.err) :wikitext(message) :done() return tostring(ret)...
Click to read more »Module:Excerpt/staging
Minggu, 2026-01-18 23:47:46hat = Excerpt.getMessage( 'this' ) elseif params.only then hat = Excerpt.getMessage( params.only ) else hat = Excerpt.getMessage( 'section' ) end...
Click to read more »Module:Track gauge/autodocument
Senin, 2024-08-12 19:10:45searchAlias is the cleaned value of [1]. [1] is kept as rawInput for error message local args = {} args['searchAlias'] = '' args['rawInput'] = origArgs[1]...
Click to read more »Module:Biota infobox
Senin, 2025-05-26 02:40:33else -- insufficient parameters -- TODO add error message and return end local offset = 2 -- authority offset when...
Click to read more »Module:Sandbox/Urban Versis 32/WEmoji/doc
Kamis, 2022-07-14 23:02:22"Wikipedia Emoji". THIS MODULE IS NOT TO ENCOURAGE THE USE OF WIKIPEDIA AS A MESSAGING PLATFORM. IT IS DESIGNED TO ENHANCE CONVERSATIONS ON USER AND TALK PAGES...
Click to read more »Module:Attached KML/sandbox
Jumat, 2026-04-17 02:06:27page link err_prepend = "Attached KML", -- text to prepend to the error messages, when shown at top of page (display=title) cat = { -- tracking categories:...
Click to read more »Module:Citation/CS1/Suggestions/doc
Rabu, 2025-03-05 05:13:35When an unknown parameter is found within a citation template an error message is generated, and when possible the software makes a suggestion for what...
Click to read more »Module:Copied/sandbox
Sabtu, 2026-02-28 21:35:43local MessageBox = require('Module:Message box') local p = {} local function singleText(args) local from_oldid = args["from_oldid"] or args["from_oldid1"]...
Click to read more »Module:Citation/CS1/doc/Importing the Module:Citation/CS1 suite to your wiki
Kamis, 2022-02-03 00:32:37error messages and error categories. The changes was made with this edit da:Special:Diff/11035100. Examples err_apostrophe_markup = { message = 'Italic...
Click to read more »Module:Citation/CS1/testcases/identifiers
Jumat, 2022-03-25 00:25:20{'message-id=something'}, -- missing '@' (fail) {'message-id=<something@somewhere'}, -- leading '<' (fail) {'message...
Click to read more »Module:String/doc
Minggu, 2026-05-24 13:57:35rather than an error message. error_category If an error occurs, specifies the name of a category to include with the error message. The default category...
Click to read more »Module:PageLinks/sandbox
Rabu, 2026-01-21 05:37:30storing the tracking categories. local demo -- Define a custom error message for this module. local function err(msg, section) local help if section...
Click to read more »Module:URL/doc
Rabu, 2025-09-24 04:18:30msg OPTIONAL. String. If content is false, n or N, do not emit a help message (using {{tlx}}) when URL is not given. The following module emits a prettified...
Click to read more »Module:Portal maintenance status/sandbox
Senin, 2018-07-09 16:00:38a Portal_talk: page's related portal page. -- Returns an appropriate message string if found or '' (empty string) if not found, or an error if used...
Click to read more »Module:Old XfD multi/sandbox
Kamis, 2025-11-27 11:44:32local yesno = require('Module:Yesno') local mMessageBox = require('Module:Message box') local TEMPLATE_PAGE = 'Template:Old XfD multi' ...
Click to read more »Module:Roman-cd
Minggu, 2019-02-24 21:44:56error messages. ]==]-- local function outputError(message) return table.concat({ '<strong class="error">Roman Module Error: ', message, ...
Click to read more »Module:Speedy/config
Rabu, 2023-05-03 21:50:45additionalMessage = additional message for creator on talk page, customHeader = custom header for talk page, customIntro = custom intro message for talk...
Click to read more »Module:Footnotes/anchor id list
Selasa, 2025-01-14 09:04:50incorrectly show error messages. Use |ignore-err=yes in the {{harv}}, {{sfn}}, and {{harvc}} templates to supress the error message. creates a list of...
Click to read more »Module:Protection banner/testcases
Senin, 2026-03-09 22:37:23obj._cfg.msg = {['test-key'] = 'test message'} self:assertEquals('testing test message', obj:_getExpandedMessage('test-key')) end -- _substituteParameters...
Click to read more »Module:Convert/sandbox/testcases
Kamis, 2014-06-19 17:39:53align="center"|9,999\n|align="center"|37,850.33 -- Error/warning messages. -- Using "test=msg" with the unit codes shown here patches the units...
Click to read more »Module:Top 25 report
Sabtu, 2026-04-18 10:58:06text .. table.concat(errors,"\n#") .. "\n" end return require('Module:Message box').main( 'tmbox', { text = text, image = "[[File:Article blue...
Click to read more »Module:Sandbox/Smsingh34/Dates
Kamis, 2018-11-22 01:26:13message = message .. day return message end else if day == "" or day == nil then message = message .. year return message else...
Click to read more »Module:UserLinks/extra/sandbox
Jumat, 2019-08-23 11:27:28makeUrlLink local makeFullUrlLink = mShared.makeFullUrlLink local message = mShared.message local linkFunctions = {} function linkFunctions.coibot(snippets)...
Click to read more »Module:Countdown-ymd
Rabu, 2026-04-29 06:56:18message): |year= or |year= |month= or |year= |month= |day= If time is included, these are required (all other variations emit an error message):...
Click to read more »Module:Service award progress
Rabu, 2026-02-11 23:27:01topLevel then fullMessage = fullMessage .. '<div>This is the highest level achievable by an editor!</div>' else fullMessage = fullMessage .. '<div>To get...
Click to read more »Module:User:Dragons flight/Test
Rabu, 2013-04-10 10:44:51local z = { error_categories = {}; message_tail = {}; } function z.test( frame ) local a = frame.args[1]; local b = mw.text.nowiki( 'hi'...
Click to read more »Module:Speedy
Senin, 2024-12-16 22:35:18local pageType = require("Module:Pagetype") local mbox = require("Module:Message box") local yesno = require("Module:Yesno") local button = require('Module:Clickable...
Click to read more »Module:Sandbox/Ita140188/Section sizes
Kamis, 2025-08-28 20:58:32values as stated in the associated message comment ]] local i18n_t = { -- non-fatal error messaging ['markup removed'] = 'markup removed;...
Click to read more »Module:Portal pictures/sandbox
Jumat, 2021-11-19 06:59:31true }) end local function wikiError(message) return mw.html.create('div'):addClass('error'):wikitext(message) end -- replace all newlines in the string...
Click to read more »Module:Sandbox/Matthiaspaul/Citation/CS1
Rabu, 2025-05-28 21:43:362020-04-22: vancouver non-Latin character error message fix; see Help_talk:Citation_Style_1#Vancouver_style_error_message_fix 2020-04-23: add cs1 and cs2 class...
Click to read more »Module:Cite archive
Jumat, 2025-09-05 12:19:37code_style="color:inherit; border:inherit; padding:inherit;"; -- used in styling error messages local lock_icons = { --icon classes are defined in...
Click to read more »Module:Infobox ship
Sabtu, 2026-06-06 12:53:09------------------------- for unknown parameters, add a message in the edit-preview message box <template> is the name of the enclosing infobox ship...
Click to read more »Module:Webarchive/doc
Senin, 2026-02-23 03:17:43soft errors that don't prevent the template from working but leave a red message Category:Webarchive template errors (4) – errors typically requiring human...
Click to read more »Module:Old moves/sandbox
Kamis, 2026-02-26 07:17:08This module implements {{Old move}}. local p = {} local messageBox = require('Module:Message box') local yesno = require('Module:Yesno') local dateModule...
Click to read more »Module:Time ago/sandbox
Jumat, 2022-02-04 09:27:52Check that the entered timestamp is valid. If it isn't, then give an error message. local success, inputTime = pcall( lang.formatDate, lang, 'xnU', args[1]...
Click to read more »Module:Sandbox/Andrybak/sandbox
Sabtu, 2021-04-17 19:01:05p = {} local function wikiError(message) local ret = mw.html.create('div') :addClass('error') :wikitext(message) return tostring(ret) end -- replace...
Click to read more »Module:WikidataIB/doc
Minggu, 2025-12-21 03:30:35Module:WikidataIB/i18n may be created to replace the values for error messages, ordinal suffixes etc. as shown in the local i18n definitions in the module...
Click to read more »Module:Find sources/autodoc/config
Selasa, 2019-06-25 23:49:12config in the link and template tables. ['table-config-separator'] = mw.message.new('Comma-separator'):plain(), -- Error for invalid template names. $1...
Click to read more »Module:Sandbox/SkSlick/Unsorted list
Rabu, 2025-07-09 03:16:30where -- "message" is the raw message text -- error is an unrecognized key or nil function module.mloadMessage (frame) return mloadMessage(frame.args)...
Click to read more »Module:UnitTests/sandbox
Minggu, 2026-04-05 12:44:48= mw.message.newRawMessage(cfg.liveFailureSummary, num_runs, num_failures):plain() live = frame:preprocess(live) else live = mw.message.newRawMessage(cfg...
Click to read more »Module:Fiction-based redirects to list entries category handler/sandbox
Jumat, 2026-05-29 14:45:59redirect categories with non-existent parent categories]]" local ERROR_MESSAGE = "Valid titles are in the style of \"Category:series-name content-type...
Click to read more »Module:TOCyears/sandbox
Senin, 2020-10-05 00:09:35end top:newline() -- Title div tag local title = args.title or mw.message.new('Toc'):plain() local titleDiv = top:tag('div') titleDiv:attr('id'...
Click to read more »Module:WikiProject assessment progression/testcases
Senin, 2020-12-07 05:56:24functionName, message) local outputType = type(functionName) self:assertEquals(expectedType, outputType, message) end -- Confirm test function...
Click to read more »Module:ISO 639 name/testcases
Selasa, 2020-10-06 18:39:12[[Module:ISO 639 name]] error messages. This is not intended to test every possible thing that can make an error message; rather, it is to test the creation...
Click to read more »Module:I18n
Senin, 2025-05-05 08:09:55--- I18n library for message storage in Lua datastores. -- The module is designed to enable message separation from modules & -- templates. It has support...
Click to read more »Module:Sensitive IP addresses/blocktext/testcases
Minggu, 2018-11-04 14:20:40mBlockTextFunctions.parseSensitivityData local renderMessage = mBlockTextFunctions.renderMessage ---------------------------------------------------...
Click to read more »Module:Footnotes/anchor id list/sandbox
Sabtu, 2025-05-24 17:15:09incorrectly show error messages. Use |ignore-err=yes in the {{harv}}, {{sfn}}, and {{harvc}} templates to supress the error message. creates a list of...
Click to read more »Module:Sandbox/Squc/Roman/doc
Rabu, 2014-06-18 00:47:42error. The final value will still be given in brackets after the error messages. To force no errors, use {{#invoke:Sandbox/Squc/Roman/doc|todecimal|MMXIII}}...
Click to read more »Module:Sandbox/Retro/GA
Jumat, 2019-05-31 16:47:43"/GA" .. (pageNum - 1) .. "|Most recent review]]" end -- Error message: -- " This template should be [[Wikipedia:Substitution|substituted]]...
Click to read more »Module:Cite Almanac FS
Senin, 2026-04-06 16:47:40local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Ka-translit/doc
Jumat, 2024-08-30 05:03:34{{#invoke:Ka-translit|tr|ქართული ენა}} kartuli ena The module returns an error message if the text it is provided does not contain any Georgian characters:...
Click to read more »Module:Sandbox/Matthiaspaul/Citation/CS1/Identifiers
Rabu, 2024-09-18 03:24:10-- flag for error message end else err_cat = true; -- not a recognized format; flag for error message end err_cat = err_cat...
Click to read more »Module:Duration/doc
Jumat, 2024-08-30 04:10:53an hours value. If the inputs are not recognized as numbers, an error message is returned. |1= and |duration= accept strings. If the string contains...
Click to read more »Module:Citation/CS1/testcases/errors
Minggu, 2023-07-30 03:06:39[[Module:Citation/CS1]] error messages. This is not intended to test every possible thing that can make an error message; rather, it is to test the creation...
Click to read more »Module:NewDYKnomination/sandbox
Minggu, 2025-11-09 04:51:52---------------------------------------- -- Creates a formatted error message that can be used with substitution. local function formatError(msg) return...
Click to read more »Module:CS1 identifiers
Minggu, 2025-08-03 21:15:05formatted messages with correct html for styling. ]] local function err_message_convert (message_prefix, message, _template, no_cat) message = message:gsub...
Click to read more »Module:Validate gadgets/doc
Rabu, 2024-10-09 10:44:09for errors and other issues. No output is produced if there are no warnings. But during previews, a message with a green check will be shown....
Click to read more »Module:Class/sandbox
Senin, 2025-06-02 19:32:24------------------------------------------- -- Local configuration and messages --------------------------------------------------------------------------------...
Click to read more »Module:Cite Almanac FS/sandbox
Senin, 2026-04-06 16:49:15local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Countdown/sandbox
Sabtu, 2024-04-27 00:22:16local getArgs = require('Module:Arguments').getArgs local function formatMessage(secondsLeft, event, color) local timeLeft = lang:formatDuration(secondsLeft...
Click to read more »Module:Cite
Kamis, 2025-05-15 03:15:34local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Sandbox/Ahecht/cite
Kamis, 2025-04-24 00:16:23local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Sandbox/Kawesa01/nocMedals/data
Minggu, 2023-09-17 02:36:47translate shorthand strings to full-length messages with wiki markup ]] local messages_t = { future = "''future event''", DNP = "''did...
Click to read more »Module:Cite/sandbox
Sabtu, 2025-11-15 00:24:37local function substitute (message, data_t) return data_t and mw.message.newRawMessage (message, data_t):plain() or message; end --[[--------------------------<...
Click to read more »Module:Sandbox/Smsingh34
Jumat, 2018-11-16 08:12:34end local message = "" message = message .. ttl if titleobject.exists then message = message .. " exists " else message = message .. " does not...
Click to read more »Module:LDSverse
Selasa, 2020-09-08 17:14:55-- so user knows there was a problem mw.log(ordinal) -- print error message to debug console (?) end else fullBookName = nil -- The user has...
Click to read more »Module:Date table sorting
Rabu, 2019-07-10 22:00:29whether we were DMY or MDY. function Dts:parseDate(date) -- Generic error message. local function dateError() error(string.format( "'%s' is an invalid...
Click to read more »Module:Yesno/doc
Senin, 2025-09-29 16:46:33This Lua module is used in system messages, and on approximately 32,900,000 pages, or roughly 50% of all pages. Changes to it can cause immediate changes...
Click to read more »Module:Citation/CS1/testcases/anchor
Selasa, 2021-04-27 10:07:20citeref(env, {ref = 'REF'})) end -- tests for expected presence of maintenance messages in ref function suite:testRefMaint() local frame = mw.getCurrentFrame()...
Click to read more »Module:Log globals/doc
Sabtu, 2023-03-18 10:53:55first problematic global variable. The arg variable is excluded. require('strict') - Creates error message for first encountered nil global read/write...
Click to read more »Module:Sandbox/trappist the monk/html/data
Senin, 2023-09-11 23:09:57translate shorthand strings to full-length messages with wiki markup ]] local messages_t = { future = "''future event''", DNP = "''did...
Click to read more »Module:Sandbox/MJL/CS1/Configuration
Kamis, 2023-02-16 12:47:13the main body to aid in future translations of this module. ]] local messages = { ['agency'] = '$1 $2', -- $1 is sepc, $2 is agency ['archived-dead']...
Click to read more »Module:Top 25 report/sandbox
Rabu, 2023-04-12 22:08:00text .. table.concat(errors,"\n#") .. "\n" end return require('Module:Message box').main( 'tmbox', { text = text, image = "[[File:Article blue...
Click to read more »Module:DYK checklist/sandbox
Minggu, 2025-10-05 13:07:15return true end end return false end -- Make a wikitext error message. local function makeWikitextError(msg) return string.format([['''<span...
Click to read more »Module:External links/conf/documentation page
Selasa, 2020-07-07 20:27:01links in articles. These rows are structured as follows: { prop='Pnnnn', message="$3 [$2 ''$1''] <description>", short="[$2 <text>]", langcode='aa', url="...
Click to read more »Module:Shindo
Senin, 2025-06-23 07:12:53messages = mw.loadData("Module:Shindo/messages") local makeInvokeFunc = require("Module:MakeInvokeFunc")(p) local message = require("Module:Message")(messages)...
Click to read more »Module:Text/sandbox
Sabtu, 2025-04-26 19:20:09number of repetitions, or nil -- accept -- true, if no error messages to be appended -- Returns: string local r = "" apply = type(apply)...
Click to read more »Module:Rotten Tomatoes data
Senin, 2025-11-24 22:20:36get_edit_icon(entityID) return require('Module:EditAtWikidata')._showMessage{qid=entityID, pid='P444'} end local function get_table(entityID) return...
Click to read more »Module:GetShortDescription
Kamis, 2023-02-16 03:29:21alarmingMessage(message, preview) message = '<span style="color:#d33">[[Module:GetShortDescription]] '..message..'.</span>' if not preview then message =...
Click to read more »Module:Sandbox/Jeblad/NLG/Q35120
Minggu, 2019-11-17 11:05:24return { { ['class'] = 'document', ['title'] = { ['class'] = 'message', -- should be canned text ['text'] = 'References', }, ['preconditions']...
Click to read more »Module:Sandbox/trappist the monk/parameter match test/Configuration/es
Minggu, 2021-08-29 02:06:30body to aid in future translations of this module. ]] citation_config.messages = { ['published'] = 'publicado el $1', --'published $1',...
Click to read more »Module:Sandbox/trappist the monk/Parameters
Selasa, 2021-02-09 02:03:59]] local in_array, is_set, is_wikilink, make_sep_list, select_one, set_message, substitute, wrap_style; -- functions in Module:Citation/CS1/Utilities...
Click to read more »Module:Countdown2/sandbox
Selasa, 2026-04-14 03:39:41mw.message.new("years", time_years):plain() ) monthNode:wikitext( mw.message.new("months", time_months):plain() ) weekNode:wikitext( mw.message.new("weeks"...
Click to read more »Module:Footnotes/whitelist/sort
Sabtu, 2023-10-14 22:26:09'CITEREF' return 'malformed key: ' .. k; -- return an error message end if v and k:match (pattern) and 'OTHER' ~= index then --...
Click to read more »Module:Lua-mock/ValueMatcher
Sabtu, 2021-05-29 19:46:19local valueMismatchMessage = 'did not match:\n'.. ' was: %s\n'.. 'expected: %s' local valueCountMismatchMessage = 'mismatch:\n'...
Click to read more »Module:Shindo/sandbox
Rabu, 2026-02-25 08:09:31messages = mw.loadData("Module:Shindo/messages") local makeInvokeFunc = require("Module:MakeInvokeFunc")(p) local message = require("Module:Message")(messages)...
Click to read more »Module:Sandbox/trappist the monk/taxonomy
Rabu, 2025-05-07 01:00:42tree_t) local starting_taxon = taxon; -- save a copy for error messaging local taxon_t = taxon_get (taxon); -- initialize while taxon_t...
Click to read more »Module:Sandbox/ProcrastinatingReader/data
Kamis, 2020-07-23 23:28:02"Candidates for speedy deletion as nonsense pages", tag = { message = "as a page that is [[Wikipedia:Patent nonsense|patent nonsense]], consisting...
Click to read more »Module:Sandbox/MJL/CS1/Utilities
Sabtu, 2021-09-04 01:07:29-- for categorizing citations that contain errors error_ids = {}; message_tail = {}; maintenance_cats = {}; -- for categorizing citations...
Click to read more »Module:GetShortDescription/sandbox
Rabu, 2023-02-22 08:42:09alarmingMessage(message, preview) message = '<span style="color:#d33">[[Module:GetShortDescription]] '..message..'.</span>' if not preview then message =...
Click to read more »Module:Track listing/sandbox
Minggu, 2025-05-11 20:50:26all_writing)) elseif self.all_lyrics and self.all_music then return mw.message.newRawMessage( cfg.lyrics_written_music_composed, self.all_lyrics, fullstop(self...
Click to read more »Module:Countdown2
Selasa, 2026-06-02 05:29:14mw.message.new("years", time_years):plain() ) monthNode:wikitext( mw.message.new("months", time_months):plain() ) weekNode:wikitext( mw.message.new("weeks"...
Click to read more »Module:GetShortDescription/doc
Kamis, 2024-08-29 18:29:42Providing a value for |objectify_alarm= will cause alarming messages (red informational messages) to be returned as tables. Providing a value for |report_redlinks=...
Click to read more »Module:Text/doc
Jumat, 2025-04-25 22:36:11then Text = Text.Text() else -- In the event of errors, Text is an error message. return "<span class=\"error\">" .. Text .. "</span>" end You may then...
Click to read more »Module:Sandbox/trappist the monk/nts
Senin, 2022-10-24 04:12:36an error message else only one error mesage is returned; if both <lat> and <lon> are out of bounds, this function returns an error message for only one...
Click to read more »Module:Archive list alpha
Rabu, 2022-10-12 01:03:23'comma' or sep == 'tpt-languages' then return mw.message.new( sep .. '-separator' ):plain() else return sep...
Click to read more »Module:Sandbox/MJL/CS1
Senin, 2022-10-24 04:16:54error message if utilities.is_set(error_message) then -- once we've added the first portion of the error message ... error_message = error_message...
Click to read more »Module:Sandbox/JPxG/Automatic archive navigator editsection
Kamis, 2024-10-10 00:19:34"Archive " from -- wikitext. obj.archivePrefix = obj.args.prefix or obj:message('archive-prefix') obj.archivePrefix = mw.text.decode(obj.archivePrefix)...
Click to read more »