Search Results: Module:Script utilities/doc
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:Script utilities
Senin, 2020-04-27 08:11:15local export = {} local m_data = mw.loadData("Module:script utilities/data") --[=[ Other modules used: [[Module:scripts]] [[Module:languages]] [[Module:parameters]]...
Click to read more »Module:Scripts
Senin, 2020-04-27 08:11:16local export = {} local Script = {} function Script:getCode() return self._code end function Script:getCanonicalName() return self._rawData.canonicalName...
Click to read more »Module:Pi-headword
Senin, 2020-04-27 08:11:02for _, script in ipairs(availableScripts) do scriptCode = script:getCode() terms = { args[scriptCode], args[scriptCode..'2'], args[scriptCode..'3']...
Click to read more »Module:Translit-redirect
Senin, 2020-04-27 08:11:25language_data[sc] if script_data then if script_data.module then local success, translit_module = pcall(require, "Module:" .. script_data.module) ...
Click to read more »Module:Labels
Senin, 2020-04-27 08:06:59lang_code .. ":" .. cat) if script then table.insert(categories, lang_code .. ":" .. cat .. " in " .. script .. " script") end if script2 then...
Click to read more »Module:Language/scripts
Minggu, 2017-05-28 21:17:18local scriptCode = frame.args[1] local scriptData = scriptCode and data[scriptCode] or "Please supply a valid script code." local characters = scriptData...
Click to read more »Module:Lang
Minggu, 2022-10-23 22:19:23lang_dep_table = lang_data.lang_name_table.lang_dep; local script_table = lang_data.lang_name_table.script; local region_table = lang_data.lang_name_table.region;...
Click to read more »Module:Lang/sandbox
Minggu, 2022-10-23 22:19:28end else script = args_script or ''; -- use args.script if provided end if is_set (script) then script = script:lower(); ...
Click to read more »Module:Pi-Latn-translit
Senin, 2020-04-27 08:11:01-- For Lao script, see https://www.unicode.org/charts/PDF/U0E80.pdf (Unicode 12.0+) local export = {} local gsub = mw.ustring.gsub local match = mw.ustring...
Click to read more »Module:Letters
Senin, 2020-04-27 08:08:20local m_scripts = require("Module:scripts") local m_script_utils = require("Module:script utilities") local m_IPA = require("Module:IPA") local m_IPAdata...
Click to read more »Module:Unicode data
Kamis, 2025-07-24 17:48:21local script = lookup_script(codepoint) if script == "Latn" then Latn = true elseif not (script == "Zyyy" or script == "Zinh" or script ==...
Click to read more »Module:Language/data
Sabtu, 2020-09-19 09:57:36"canonical name" used on Wiktionary. Article is the Wikipedia article. Script is the ISO 15924 code. ]] local data = { ["ang"] = { ["name"] = "Auld...
Click to read more »Module:Unicode data/scripts
Selasa, 2025-07-29 23:29:54script in ipairs(mw.loadData "Module:Lang/data".rtl_scripts) do -- [[Module:Lang/data]] has script codes in lowercase; -- this module has script codes...
Click to read more »Module:Utilities/data
Senin, 2020-04-27 08:11:31= true, ["br"] = true, } --[[utilities/ Script that should be applied to links in categories. | Script that should be applied to links in categories...
Click to read more »Module:Palindromes
Senin, 2020-04-27 08:11:00require("Module:scripts").findBestScript(term, lang):getCode() for _, script in ipairs(langdata.ignore) do if script == sc_name then return "" ...
Click to read more »Module:Citation/CS1
Minggu, 2022-10-23 22:19:13function script_concatenate (title, script, script_param) if utilities.is_set (script) then script = format_script_value (script, script_param); ...
Click to read more »Module:Language/data/iana scripts
Kamis, 2020-10-15 01:13:01["Khoj"] = {"Khojki"}, ["Kitl"] = {"Khitan large script"}, ["Kits"] = {"Khitan small script"}, ["Knda"] = {"Kannada"}, ["Kore"] = {"Korean (alias...
Click to read more »Module:Language
Minggu, 2022-10-23 22:24:19local languageCode, scriptCode, invalidCode local errorText if codes == nil or codes == "" then errorText = 'no language or script code provided' elseif...
Click to read more »Module:Compound
Senin, 2020-04-27 08:06:04possible hyphens for a given script. -- Normally this is just the regular hyphen character "-", but for some -- non-Latin-script languages (currently only...
Click to read more »Module:Headword/templates
Senin, 2020-04-27 08:06:43process(frame:getParent().args, params) -- Get language and script information local data = {} data.lang = require("Module:languages").getByCode(args[1])...
Click to read more »Module:Pi-decl/noun
Senin, 2020-04-27 08:11:02args["stem"] or PAGENAME currentScript = require("Module:scripts").findBestScript(stem, lang) scriptCode = currentScript:getCode() local ending = args[2]...
Click to read more »Module:R:Perseus
Senin, 2020-04-27 08:05:53templates: - [[Special:WhatLinksHere/Template:tracking/R:Perseus/wrong-script]] - [[Special:WhatLinksHere/Template:tracking/R:Perseus/param/1]] -...
Click to read more »Module:Headword
Sabtu, 2023-04-08 08:22:19test_script(text, script_code) if type(text) == "string" and type(script_code) == "string" then local sc = require("Module:scripts").getByCode(script_code)...
Click to read more »Module:Indtr
Senin, 2020-04-27 08:06:46"\" is not valid.") local nocat = args["nocat"] ~= nil local script = args["script"] or nil local script2 = args["script2"] or nil local sort_key...
Click to read more »Module:Labels/templates
Sabtu, 2020-09-19 03:06:19labels = args[compat and 1 or 2] local nocat = args["nocat"] local script = args["script"] local script2 = args["script2"] local sort_key = args["sort"]...
Click to read more »Module:Citation/CS1/Whitelist
Kamis, 2020-10-15 01:12:54['script-article'] = true, ['script-chapter'] = true, ['script-contribution'] = true, ['script-entry'] = true, ['script-journal'] = true, ['script-magazine']...
Click to read more »Module:Citation/CS1/COinS
Kamis, 2020-10-15 01:12:53(script) then script = script:gsub ('^%l%l%s*:%s*', ''); -- remove language prefix if present (script value may now be empty string) script...
Click to read more »Module:Usex
Minggu, 2020-11-01 13:08:03'e-translation', -- The following are added by [[Module:script utilities]], using [[Module:script utilities/data]] -- transliteration = 'e-transliteration'...
Click to read more »Module:Language/name/data
Senin, 2017-12-25 05:08:39__preprocess(require("Module:Language/data/wp languages"), true); -- all valid script subtags for BCP47 from IANA (excluding special ISO 15924 codes) local iana_scripts...
Click to read more »Module:Transclusion count/data/S
Kamis, 2022-12-29 06:19:21["Script"] = 5300, ["Script/Hebrew"] = 4600, ["Script/Nastaliq"] = 13000, ["Script/doc/id-unk"] = 2700, ["Script/doc/id-unk/core"] = 2700, ["Script...
Click to read more »Module:Links
Senin, 2023-03-06 07:20:09are listed at [[Module:links/data]]. Other modules used: [[Module:script utilities]] [[Module:scripts]] [[Module:languages]] and its submodules...
Click to read more »Module:Hyphenation
Senin, 2020-04-27 08:06:45args["sc"] and (require("Module:scripts").getByCode(args["sc"]) or error("The script code \"" .. sc .. "\" is not valid.")) or nil local text = require("Module:links")...
Click to read more »Module:Headword/data
Minggu, 2020-09-20 13:53:46"vi", "xug", "yue", "yoi", "yox", "za", "zh", } -- Script codes for which a script-tagged display title will be added. data.toBeTagged = { "Ahom"...
Click to read more »Module:Ja-headword
Senin, 2020-04-27 08:06:48.. '%s%.%-%^]' local is_suru_verb = false local function detect_kana_script(kana) if find(kana, katakana_pattern) then return 'kata' elseif find(kana...
Click to read more »Module:Script utilities/data
Senin, 2020-04-27 08:11:16local data = {} data.translit = { ["term"] = { --[=[ can't be done until Kana transliterations are correctly parsed by [[Module:links]] ["tag"] = "i"...
Click to read more »Module:Links2
Sabtu, 2020-09-19 04:13:17are listed at [[Module:links/data]]. Other modules used: [[Module:script utilities]] [[Module:scripts]] [[Module:languages]] and its submodules...
Click to read more »Module:Languages/templates
Senin, 2020-04-27 08:08:20error("Please specify the numeric index of the desired script.") local scripts = lang:getScriptCodes() if scripts[index] then return scripts[index]...
Click to read more »Module:Citation/CS1/Configuration
Kamis, 2020-10-15 03:34:35'scale', ['ScriptChapter'] = {'script-chapter', 'script-contribution', 'script-entry', 'script-article', 'script-section'}, ['ScriptMap'] = 'script-map',...
Click to read more »Module:Compound/templates
Senin, 2023-03-27 01:26:54local function fetch_script(sc) sc = if_not_empty(sc) if sc then return require("Module:scripts").getByCode(sc) or error("The script code \"" .. sc ....
Click to read more »Module:Utilities
Senin, 2020-04-27 08:11:31argument to the function "catfix" should be a script object from Module:scripts.') end -- To add script classes to links on pages created by category...
Click to read more »Module:Wikipedia
Sabtu, 2020-09-19 04:11:28args["sc"] and (require("Module:scripts").getByCode(args["sc"]) or error("The script code \"" .. sc .. "\" is not valid.")) or nil local linkdata = {} ...
Click to read more »Module:Etymology/templates
Sabtu, 2020-09-19 07:19:07end end local function fetch_script(sc) if sc then return require("Module:scripts").getByCode(sc) or error("The script code \"" .. sc .. "\" is not...
Click to read more »Module:Language/scripts/data
Minggu, 2017-05-28 21:17:59["characters"] = "᠀-ᢪ", } m["Moon"] = { ["names"] = { "Moon", "Moon code", "Moon script", "Moon type" }, ["characters"] = "", } m["Mroo"] = { ["names"] = { "Mro"...
Click to read more »Module:Grc-utilities
Senin, 2020-04-27 08:06:38local export = {} local m_script_utils = require("Module:script utilities") local m_links = require("Module:links") local lang = require("Module:languages")...
Click to read more »Module:Lang/data
Kamis, 2020-10-15 02:38:04table of tables that decode: lang -> language tags and names script -> ISO 15924 script tags region -> ISO 3166 region tags variant -> iana registered...
Click to read more »Module:Debug
Senin, 2020-04-27 08:06:08values, it will be placed on a single line. Used by [[Module:User:Erutuon/script recognition]]. ]=] function export.modified_dump(value, prefix, tsort) ...
Click to read more »Module:Links/templates
Senin, 2020-04-27 08:08:24if sc then sc = require("Module:scripts").getByCode(sc) or error("The script code \"" .. sc .. "\" is not valid.") end if not term and not alt and...
Click to read more »Module:Translations
Senin, 2023-03-06 07:15:40(args["sc"] and (require("Module:scripts").getByCode(args["sc"]) or error("The script code \"" .. args["sc"] .. "\" is not valid.")) or nil), term = args[2]...
Click to read more »Module:Hi-translit
Senin, 2020-04-27 08:06:43-- Transliteration for Hindi (possibly other languages using Devanagari script, except for Sanskrit) local export = {} local gsub = mw.ustring.gsub local...
Click to read more »Module:Ja
Senin, 2020-04-27 08:06:48and kana -- determines the script types used -- e.g. given イギリス人, it returns Kana+Hani function export.script(f) text, script = type(f) == 'table' and...
Click to read more »Module:Lang/utilities
Minggu, 2022-10-23 22:22:07valencian code = code:match ('^%a%a%a?%f[^%a]'); -- strip off region, script, and variant tags so that they aren't used to make category names end...
Click to read more »Module:Language/text
Senin, 2019-12-23 08:14:09pcall to call mw.title.new to -- avoid producing script errors. mw.title.new will result -- in a script error if we are over the expensive function count...
Click to read more »Module:Languages
Senin, 2023-03-06 07:19:41table.insert(self._scriptObjects, m_scripts.getByCode(sc)) end end return self._scriptObjects end function Language:getScriptCodes() return self...
Click to read more »Module:Grc-translit
Senin, 2020-04-27 08:06:38char(0x0314)] = "h", } function export.tr(text, lang, sc) -- If the script is given as Cprt, then forward the transliteration to that module if sc...
Click to read more »Module:Rhymes
Senin, 2023-03-27 01:39:17cat if lang:getCode() == "te" then formatted_rhyme = require("Module:script utilities").tag_text(rhyme, lang) cat = "" else formatted_rhyme, cat...
Click to read more »Module:Redirect
Jumat, 2022-01-28 01:50:33local p = {} -- Gets a mw.title object, using pcall to avoid generating script errors if we -- are over the expensive function count limit (among other...
Click to read more »Module:TimeAgo
Selasa, 2016-06-21 23:49:55appropriate. spell_out_max = tonumber( spell_out_max ) -- Would cause script errors if not a number. local result_num_text if ( spell_out == 'auto'...
Click to read more »Module:Cyrs-Glag-translit
Senin, 2020-04-27 08:05:47tr(text, lang, sc) if not sc then sc = require("Module:scripts").findBestScript(text, require("Module:languages").getByCode(lang)):getCode() end -- Щ...
Click to read more »Module:Sh-headword
Senin, 2020-04-27 08:11:18mw.title.getCurrentTitle() local sc = require("Module:scripts").findBestScript(title.subpageText, lang) local other_sc if sc:getCode() == "Latn"...
Click to read more »Module:Scripts/data
Senin, 2020-04-27 08:11:17scripts to this file, please don't forget to add -- style definitons for the script in [[MediaWiki:Common.css]]. local u = mw.ustring.char local m = {} m["Adlm"]...
Click to read more »Module:Es-pronunc
Senin, 2020-04-27 08:06:15--['g']='ɡ': U+0067 LATIN SMALL LETTER G → U+0261 LATIN SMALL LETTER SCRIPT G word = mw.ustring.gsub(word,'^ɾ','r') word = mw.ustring.gsub(word,'ɾɾ'...
Click to read more »Module:Language/data/wp languages
Selasa, 2018-04-10 12:10:10-- roa = Romance languages (639-2); tara is not an IANA registered script; roa-tara.wikipedia.org ["simple"] = {"Semple Inglis"}, -- simple...
Click to read more »Module:Json
Senin, 2020-04-27 08:05:50end) -- Not needed for valid JSON, but needed for compatibility with JavaScript: s = s:gsub('\226\128\168', '\\u2028') s = s:gsub('\226\128\169', '\\u2029')...
Click to read more »Module:Nl-adjective
Senin, 2020-04-27 08:08:26m_links = require("Module:links") local m_scriptutils = require("Module:script utilities") -- Make links out of all forms for key, form in pairs(forms)...
Click to read more »Module:Form of/templates
Senin, 2020-04-27 08:06:32to be set using lang=, not 1=. sc=: Default script code for language-specific templates. The script code can still be overridden using template param...
Click to read more »Module:Languages/data3/e
Senin, 2020-04-27 08:08:01canonicalName = "Eskayan", scripts = {"Latn"}, -- also its own native script family = "art", } m["etb"] = { canonicalName = "Etebi", } m["etc"] =...
Click to read more »Module:Nl-adjectives
Senin, 2020-04-27 08:08:27m_links = require("Module:links") local m_scriptutils = require("Module:script utilities") local lang = require("Module:languages").getByCode("nl") local...
Click to read more »Module:Portal/images/w
Selasa, 2023-04-11 06:00:07["wather"] = "Cumulus clouds in fair weather.jpeg", ["wast bengal"] = "BengaliScriptKo.svg", ["wastren australia"] = "Flag of Western Australia.svg", ["wastren...
Click to read more »Module:Languages/data3/x
Senin, 2020-04-27 08:08:15otherNames = {"Khwarezmian"}, scripts = {"fa-Arab"}, -- Khwarezmian script not in Unicode yet family = "ira", } m["xcr"] = { canonicalName = "Carian"...
Click to read more »Module:Labels/data
Sabtu, 2020-09-19 03:20:52speakers' English" -- used exclusively by languages that use the “Jpan” script code labels["historical hiragana"] = { pos_categories = { "historical hiragana"...
Click to read more »Module:Requested move
Kamis, 2023-11-23 17:20:00come before the namespace and existence checks, as they will -- produce script errors if the title object doesn't exist. validCurrent, currentTitle =...
Click to read more »Module:Portal/images/s
Jumat, 2022-05-27 19:18:54JPG", ["sirie"] = "Flag of Syria.svg", ["syriac"] = "Syriac Sertâ book script.jpg", ["syriac christianity"] = "Bible and Pulpit, Mor Hananyo.jpg", ["syrian...
Click to read more »Module:Number list
Senin, 2020-04-27 08:08:29") sc = (sc and (require("Module:scripts").getByCode(sc) or error("The script code \"" .. sc .. "\" is not valid.")) or nil) require("Module:debug")...
Click to read more »Module:Convert/data
Selasa, 2018-01-30 07:37:14('kg' and 'g' have different links) -- -- These tables are generated by a script which reads the wikitext of a page that -- documents the required properties...
Click to read more »Module:Portal/images/b
Jumat, 2014-06-06 00:07:09Belgium.svg", ["belize"] = "Flag of Belize.svg", ["bengal"] = "BengaliScriptKo.svg", ["benin"] = "Flag of Benin.svg", ["berbers"] = "Berber flag.svg"...
Click to read more »Module:Webarchive/data
Kamis, 2020-07-09 07:30:58-- TODO: these iabot bugs perportedly fixed; removing these causes lua script error -- iabot2 = 'Invalid URL', -- at...
Click to read more »Module:Infobox multi-lingual name/data
Sabtu, 2020-02-08 11:25:50{'[[Uyghur Laitin alphabet|Latin Yëziqi]]', 'uly'}, {'[[Uyghur New Script|Yengi Yeziⱪ]]', 'uyy'}, {'[[SASM/GNC romanisation#Uyghur|SASM/GNC]]'...
Click to read more »Module:Ar-translit
Senin, 2020-04-27 08:05:58-- Transliterate the word(s) in TEXT. LANG (the language) and SC (the script) -- are ignored. OMIT_I3RAAB means leave out final short vowels (ʾiʿrāb)...
Click to read more »Module:Ro-headword
Senin, 2020-04-27 08:11:08inflections, args[2]) local sc = require("Module:scripts").findBestScript(data.heads[1] or args.inf or PAGENAME, lang):getCode() if not data.heads[1]...
Click to read more »Module:Protection banner
Rabu, 2026-02-18 15:57:12setmetatable(obj, Protection) end function Protection:isUserScript() -- Whether the page is a user JavaScript or CSS page. local title = self.title return title...
Click to read more »Module:Random
Kamis, 2014-06-05 20:18:52because of the variability of os.clock (the time in seconds that the Lua script has been running for). math.randomseed(mw.site.stats.edits + mw.site.stats...
Click to read more »Module:Infobox multi-lingual name
Minggu, 2022-10-23 22:22:35end if is_set (args['phagspa-latin']) then -- phagspa is a script i = add_transcription (infobox_args, args, 'old mandarin', show, i, 'zh');...
Click to read more »Module:Ru-common
Senin, 2020-04-27 08:11:10dereduce_stem() -- this was actually added to support calling from a bot script rather than from a user template). There's also export.main(), which supposedly...
Click to read more »Module:Documentation/doc
Jumat, 2019-12-20 09:21:03This module displays a blue box containing documentation faer templates, Lua modules, or other pages. The {{documentation}} template invokes it. Faer muist...
Click to read more »Module:Iucn
Minggu, 2022-10-23 22:24:46missing_title = not args.title -- special case that results from script writing {{cite iucn}} template from bare iucn url --...
Click to read more »Module:Languages/data3/b
Senin, 2020-04-27 08:07:58= {"Pande-Gongo"}, scripts = Latn, } m["bkk"] = { -- written in Balti script "Brokskat", "Q2925988", "inc-dar", } m["bkl"] = { "Berik", "Q378743"...
Click to read more »Module:Transclusion count/data/I
Kamis, 2020-10-15 01:13:075000, ["IRN"] = 3200, ["ISBN"] = 444000, ["ISBNT"] = 33000, ["ISO_15924/script-example-character"] = 2400, ["ISO_15924/wp-name"] = 2500, ["ISO_15924/wp-name/label"]...
Click to read more »Module:Ru-adjective
Senin, 2020-04-27 08:11:09trspan = m_links.remove_links(trentry) .. trnotes trspan = require("Module:script utilities").tag_translit(trspan, lang, "default", " style=\"color: #888;\"")...
Click to read more »Module:Citation/CS1/Identifiers
Kamis, 2020-10-15 01:12:54presentation['bdi'], {'', mw.text.nowiki (options.id)}) -- bdi tags to prevent Latin script identifiers from being reversed at RTL language wikis ); ...
Click to read more »Module:Portal/images
Jumat, 2024-02-23 21:02:31Belgium.svg", ["belize"] = "Flag of Belize.svg", ["bengal"] = "BengaliScriptKo.svg", ["benin"] = "Flag of Benin.svg", ["berbers"] = "Berber flag...
Click to read more »Module:Ru-noun
Senin, 2020-04-27 08:11:12require("Module:string utilities") local scriptutils = require("Module:script utilities") local m_table_tools = require("Module:table tools") local m_debug...
Click to read more »Module:Webarchive
Minggu, 2022-10-23 22:20:36-- these iabot bugs perportedly fixed; removing these causes lua script error --[[ -- at Template:Webarchive/testcases/Production;...
Click to read more »Module:Citation/CS1/Date validation
Kamis, 2020-10-15 01:12:54then -- lang.formatDate() returns a timestamp in the local script which which tonumber() may not understand access_ts = tonumber (access_ts)...
Click to read more »