Search results

  • ustring.len( target_str ) then return str._error( 'String index out of range' ) end return mw.ustring.sub( target_str, pos, pos ) end --[[ str_find...
    18 KB (2,750 words) - 10:10, August 21, 2020
  • ["Str_sub"] = 17000, ["Str_sub_long"] = 426000, ["Str_sub_new"] = 26000, ["Str_sub_old"] = 453000, ["Str_trim"] = 6000, ["Str_≠_len"] = 22000, ["Str_≤_len"]...
    10 KB (1,135 words) - 14:39, August 30, 2020
  • (isxn_str, len) local temp = 0; isxn_str = { isxn_str:byte(1, len) }; -- make a table of byte values '0' → 0x30 .. '9' → 0x39, 'X' → 0x58 len = len+1;...
    6 KB (916 words) - 19:40, August 21, 2020
  • characters. ]] local function is_valid_isxn (isxn_str, len) local temp = 0; isxn_str = { isxn_str:byte(1, len) }; -- make a table of byte values '0'...
    72 KB (11,046 words) - 16:23, May 4, 2023
  • presentation['kern-left'], str); str = utilities.substitute (cfg.presentation['kern-right'], str); elseif mw.ustring.match (str, '%[%[[\"“”\'‘’].+%]%]')...
    209 KB (29,658 words) - 16:23, May 4, 2023
  • --- function p.ia_url_encode(str) if (str) then str = mw.ustring.gsub (str, "\n", "\r\n") str = mw.ustring.gsub (str, "([^%w %-%_%.%~])", ...
    29 KB (4,267 words) - 23:19, September 10, 2020
  • 0 then if cur.str ~= "" then cur.str = "%"..cur.str cur.param = true params[cur.str] = true cur.parent.req[cur.str] = true prev...
    67 KB (8,869 words) - 15:02, October 24, 2022
  • unmodified. str may be a comma- or semicolon-separated list ]] function p.hyphen_to_dash( str, spacing ) if (str == nil or str == '') then return str end...
    12 KB (1,973 words) - 13:25, October 24, 2022
  • 0 Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    163 bytes (28 words) - 19:51, August 21, 2020
  • =============================]] function p.append(str, c, length) while str:len() < length do str = c .. str end return str end --Returns the ISNI check digit...
    44 KB (6,870 words) - 12:20, September 2, 2020
  • precision==9 then local sLen = mw.ustring.len(dateStr) if sLen<= 4 then precision=9 elseif sLen== 7 then precision=10 elseif sLen>=10 then precision=11...
    22 KB (2,907 words) - 19:49, August 21, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    273 bytes (27 words) - 19:47, August 21, 2020
  • --I18nStr function p.GetMsgP (TNTTab, S, ...) return I18nStr (TNTTab, S, true, {...}) end function p.GetStrP (TNTTab, S, ...) return I18nStr (TNTTab...
    2 KB (356 words) - 21:54, August 29, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    273 bytes (27 words) - 19:47, August 21, 2020
  • digits? date_str = mw.ustring.gsub (date_str, '%d', digits); -- convert this wiki's non-western digits to western digits end if date_str:match ('^...
    37 KB (5,179 words) - 08:57, May 2, 2021
  • return o+str.substr(li); } function parse_inline_wiki(str) { str = parse_inline_images(str); str = parse_inline_formatting(str); // math str = str...
    232 KB (29,025 words) - 20:27, August 30, 2020
  • local out_str = table.concat (out); return table.concat ({frame:extensionTag ('templatestyles', '', {src='Module:Citation/CS1/styles.css'}), out_str}); end...
    58 KB (8,323 words) - 13:25, October 24, 2022
  • len = query.normalized.length, garLink = $("#assess-gar-link a:first"); for (j = 0; j < len; j++) { ...
    28 KB (2,629 words) - 20:55, August 30, 2020
  • ["lel"] = {"Lele (Democratic Republic of Congo)"}, ["lem"] = {"Nomaande"}, ["len"] = {"Lenca"}, ["leo"] = {"Leti (Cameroon)"}, ["lep"] = {"Lepcha"}, ["leq"]...
    205 KB (19,514 words) - 20:02, September 23, 2020
  • ["lel"] = {"Lele (Democratic Republic of Congo)"}, ["lem"] = {"Nomaande"}, ["len"] = {"Lenca"}, ["leo"] = {"Leti (Cameroon)"}, ["lep"] = {"Lepcha"}, ["leq"]...
    217 KB (20,669 words) - 16:23, May 4, 2023