local function clean(s) s = mw.ustring.gsub(s, '([^a])meter', '%1m') ... ...
4 KB (635 words) - 12:17, November 30, 2025
code = code:match('^%s*(.-)%s*$'):lower() -- trim whitespace ... '%s|link=',
iconData.image,
iconData.tooltip and '| ... ...
710 bytes (116 words) - 12:17, November 30, 2025
local function trim(s) return mw.ustring.match(s, '^%s*(.-)%s*$')
end ... ...
2 KB (250 words) - 12:16, November 30, 2025
if mw.ustring.match(v,'%S') then
if k > maxArg then maxArg ... 'خطا در الگو:پاسخ به: بیش از %s نام تعریف ... ...
2 KB (251 words) - 12:17, November 30, 2025
local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~=
end ... ...
2 KB (223 words) - 12:17, November 30, 2025
local function makeParam(s)
local lb = '{'
local rb = '} ... return lb:rep(3) .. s .. rb:rep(3)
end
local function italicize(s) ... ...
2 KB (225 words) - 12:17, November 30, 2025
local function trim(s) return mw.ustring.match(s, '^%s*(.-)%s*$')
end ... ...
3 KB (412 words) - 12:17, November 30, 2025
'%s-%s-%sT%s:%s:%s',
year, month, day, hour, minute, second
)
else
error('internal error in Module:Effective protection expiry; ... ...
1 KB (215 words) - 12:17, November 30, 2025
mw.ustring.format('%s|%s', mw.ustring.gsub(v, '|.* ... '%sهای اصلی این رده، %s هستند.' ... ...
2 KB (321 words) - 12:17, November 30, 2025
-- function to determine whether "sub" occurs in "s" local function plainFind(s, sub)
return mw.ustring.find(s, sub, 1, true) ... ...
5 KB (776 words) - 12:17, November 30, 2025
"no template content specified (use parameter '%s' ... flags'] or )..',', ',%s*override%s*,' ) then ... ...
4 KB (631 words) - 12:17, November 30, 2025
local function _ne(s) return s ~= nil and s ~= ""
end
local nw = mw.text.nowiki ... ...
4 KB (681 words) - 12:17, November 30, 2025
local s = slist[k] local k,v = s:match( '^[%s]*([^:]-):([^:]-)[%s;]*$' ) ... ...
7 KB (1,192 words) - 12:17, November 30, 2025
local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or ... ...
6 KB (917 words) - 12:17, November 30, 2025
'(%s)',
toolbarItems
)
else
return string.format( '(%s)',
type(args.class) == 'string' and ' ... ...
1 KB (183 words) - 12:17, November 30, 2025
warning_infrastructure = '%sهشدار پیشنمایش: %s',
missing_warning = 'الگو، فاقد متن هشدار است ... ...
889 bytes (108 words) - 12:17, November 30, 2025
'خطا: %s (الگو:رده وابسته)',
msg ... formatString = ':' .. options.project .. ':رده:%s' ... ...
3 KB (490 words) - 12:16, November 30, 2025
v = v:match('^%s*(.-)%s*$')
if v ~= then
args[k] = v ... local tsSandboxTitle = mw.title.new(string.format('%s:%s/تمرین/ ... ...
4 KB (407 words) - 12:17, November 30, 2025
this module's parent (i.e. template using this module), depending ... local warning = args[1] and args[1]:match('^%s*(.-)%s*$') or ... ...
1 KB (223 words) - 12:17, November 30, 2025
local function concatstrings(s) local r = table.concat(s, )
if r:match('^%s*$') then r = nil end ... ...
4 KB (524 words) - 12:17, November 30, 2025