User contributions for Jācōbus
11 February 2023
- 19:5419:54, 11 February 2023 diff hist +1,019 N Module:script utilities/data Created page with "local data = {} data.translit = { ["term"] = { --[=[ can't be done until Kana transliterations are correctly parsed by Module:links ["tag"] = "i", ]=] ["classes"] = "mention-tr", }, ["usex"] = { ["tag"] = "i", ["classes"] = "e-transliteration", }, ["head"] = { ["classes"] = "headword-tr", ["dir"] = "ltr", }, ["default"] = {}, } data.transcription = { ["head"] = { ["tag"] = "span", ["classes"] = "headword-ts", ["dir"] = "ltr", }, ["usex..." current
- 19:5419:54, 11 February 2023 diff hist +13,138 N Module:script utilities Created page with "local export = {} --[=[ Modules used: Module:script utilities/data Module:scripts Module:senseid (only when id's present) Module:string utilities (only when hyphens in Korean text or spaces in vertical text) Module:languages Module:parameters Module:utilities/format_categories Module:debug/track ]=] function export.is_Latin_script(sc) -- Latn, Latf, Latinx, pjt-Latn return sc:getCode():find("Lat") and true or false end -- Use..." current
- 19:4919:49, 11 February 2023 diff hist +3,796 N Module:links/data Created page with "local data = {} data.ignore_cap = { ["ko"] = true, } data.phonetic_extraction = { ["th"] = "Module:th", ["km"] = "Module:km", } data.pos_tags = { ["a"] = "adjective", ["adv"] = "adverb", ["int"] = "interjection", ["n"] = "noun", ["pron"] = "pronoun", ["v"] = "verb", ["vi"] = "intransitive verb", ["vt"] = "transitive verb", ["vti"] = "transitive and intransitive verb", } data.high_memory_entries = { "a", "angel", "animal", "baba", "book", "coffee",..." current
- 19:4819:48, 11 February 2023 diff hist +1,500 N Module:la-utilities Created page with "local m_links = require('Module:links') local export = {} local lang = require("Module:languages").getByCode("la") -- A wrapper function allowing the contents of this module to be called from -- templates. For example, '{{#invoke:la-utilities|main|strip_macrons|mȳthos}}' -- produces 'mythos'. function export.main(frame) if(frame.args[1] == 'strip_macrons') then return lang:makeEntryName(frame.args[2]) end if type(p[frame.args[1]]) == 'function' then return p[f..." current
- 19:4819:48, 11 February 2023 diff hist +32,180 N Module:la-headword Created page with "local export = {} local pos_functions = {} local m_table = require("Module:table") local legal_gender = { ["m"] = true, ["f"] = true, ["n"] = true, ["?"] = true, ["?!"] = true, } local declension_to_english = { ["1"] = "first", ["2"] = "second", ["3"] = "third", ["4"] = "fourth", ["5"] = "fifth", } local gender_names = { ["m"] = "masculine", ["f"] = "feminine", ["n"] = "neuter", ["?"] = "unknown gender", ["?!"] = "unattested gender", } local lang = re..." current
- 19:4619:46, 11 February 2023 diff hist +23,054 N Module:links Created page with "local export = {} --[=[ Unsupported titles, pages with high memory usage, extraction modules and part-of-speech names are listed at Module:links/data. Other modules used: Module:script utilities Module:scripts Module:languages and its submodules Module:gender and number Module:debug ]=] -- These are prefixed with u to avoid confusion with the default string methods -- of the same name. local toNFC = mw.ustring.toNFC local ucha..."
- 19:4619:46, 11 February 2023 diff hist +139,983 N Module:verb Created page with "local m_utilities = require("Module:utilities") local m_table = require("Module:table") local m_links = require("Module:links") local make_link = m_links.full_link local m_la_headword = require("Module:la-headword") local m_la_utilities = require("Module:la-utilities") local m_para = require("Module:parameters") -- TODO: -- 1. (DONE) detect_decl_and_subtypes doesn't do anything with perf_stem or supine_stem. -- 2. (DONE) Should error on bad subtypes. -- 3. Make sure Goo..."
- 19:4519:45, 11 February 2023 diff hist +25 N Template:Conj Created page with "{{#invoke:verb|show}}<!--" current
- 19:4219:42, 11 February 2023 diff hist +3 Module:pronunc No edit summary current
- 19:3919:39, 11 February 2023 diff hist +14 Module:IPA No edit summary current
- 19:3819:38, 11 February 2023 diff hist −3 Module:pronunc No edit summary Tag: Manual revert
- 19:3819:38, 11 February 2023 diff hist +3 Module:pronunc No edit summary Tag: Reverted
- 19:3719:37, 11 February 2023 diff hist +3 Module:IPA No edit summary
- 19:3619:36, 11 February 2023 diff hist +3 Module:IPA No edit summary
- 19:3519:35, 11 February 2023 diff hist −1 Module:IPA No edit summary
9 February 2023
- 13:2913:29, 9 February 2023 diff hist −11 Template:Verb No edit summary
- 13:2913:29, 9 February 2023 diff hist −11 Template:Adjective No edit summary
- 13:2913:29, 9 February 2023 diff hist −11 Template:Noun No edit summary
- 13:2513:25, 9 February 2023 diff hist +79 N Acadēmīa:Ecclesiastical Latin Redirected page to Acadēmīa:Latin pronunciation#Ecclesiastical Latin pronunciation current Tag: New redirect
- 13:2513:25, 9 February 2023 diff hist +44 N Acadēmīa:Classical Latin Redirected page to Acadēmīa:Latin pronunciation current Tag: New redirect
- 13:2513:25, 9 February 2023 diff hist +20 Acadēmīa:Latin pronunciation No edit summary current
- 13:2413:24, 9 February 2023 diff hist −447 Acadēmīa:Latin pronunciation No edit summary
- 13:2313:23, 9 February 2023 diff hist +3,525 N Module:IPA/X-SAMPA Created page with "local export = {} local m_XSAMPA = mw.loadData('Module:IPA/data/X-SAMPA') -- IPA <-> XSAMPA lookup tables local i2x_lookup = {} local function Populate_IPA_XSAMPA_LookupTables() if #i2x_lookup == 0 then for XSAMPA_symbol, data in pairs(m_XSAMPA) do local IPA_symbol = data[1] i2x_lookup[IPA_symbol] = XSAMPA_symbol local with_descender = data.with_descender if with_descender then i2x_lookup[with_descender] = XSAMPA_symbol end end end return..." current
- 13:2213:22, 9 February 2023 diff hist +6,762 N Module:IPA/templates Created page with "local export = {} local m_IPA = require("Module:IPA") local U = mw.ustring.char local syllabic = U(0x0329) -- Used for Template:IPA. function export.IPA(frame) local parent_args = frame.getParent and frame:getParent().args or frame local compat = parent_args["lang"] local offset = compat and 0 or 1 local params = { [compat and "lang" or 1] = {required = true, default = "en"}, [1 + offset] = {list = true, allow_holes = true}, ["ref"] = {list = true, allow..." current
- 13:2113:21, 9 February 2023 diff hist +73 N Template:IPAchar Created page with "{{#invoke:IPA/templates|IPAchar}}<noinclude>{{documentation}}</noinclude>" current
- 13:2113:21, 9 February 2023 diff hist +7,695 N Acadēmīa:Latin pronunciation Created page with "The tables below show the International Phonetic Alphabet (IPA) equivalents for Latin sounds. ==Vowels== Classical Latin had both long and short vowels. For all vowels besides {{IPAchar|/a aː/}}<!-- generated by T:x2ipachar -->, the short and long versions also had markedly different quality, in most phonological environments. The short vowels were considerably more open. This resulted later in the merging of short ''i'' and ''u'' with long ''e'' and ''o'' in Italian,..."
8 February 2023
- 00:1300:13, 8 February 2023 diff hist +61 Template:Adjective No edit summary
- 00:1300:13, 8 February 2023 diff hist −44 Template:Verb No edit summary
- 00:1200:12, 8 February 2023 diff hist +30 Template:Noun No edit summary
- 00:1100:11, 8 February 2023 diff hist +31 Template:Verb No edit summary
- 00:0900:09, 8 February 2023 diff hist +7,720 N Module:languages/data3/u Created page with "local u = mw.ustring.char -- UTF-8 encoded strings for some commonly used diacritics local GRAVE = u(0x0300) local ACUTE = u(0x0301) local BREVE = u(0x0306) local DIAER = u(0x0308) -- Use these in "scripts" to save a little memory. local Cyrl = {"Cyrl"} local CyrlLatn = {"Cyrl", "Latn"} local Latn = {"Latn"} local Thai = {"Thai"} local m = {} m["uam"] = { "Uamué", 3441418, } m["uan"] = { "Kuan", 6441085, } m["uar"] = { "Tairuma", 7676386, "n..." current
- 00:0700:07, 8 February 2023 diff hist +3,492 N Module:scripts/findBestScript Created page with "return function (export, text, lang, scripts, forceDetect) -- Ensure that "Hant", "Hans" and "Hani" are moved to the end of the list (in that order, if present), as they are a special-case. local oldScripts, Hant, Hans, Hani, finalCheck = scripts scripts = {} for _, script in ipairs(oldScripts) do if script._code == "Hant" then Hant = script elseif script._code == "Hans" then Hans = script elseif script._code == "Hani" then Hani = script else tabl..." current
- 00:0700:07, 8 February 2023 diff hist +32,764 N Module:scripts/data Created page with "--[=[ When adding new scripts 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 = {} local u = mw.ustring.char m["Adlm"] = { canonicalName = "Adlam", characters = "؟ـ𞤀-𞥟", capitalized = true, direction = "rtl", } m["Afak"] = { canonicalName = "Afaka", } m["Aghb"] = { canonicalName = "Caucasian Albanian", characters = "𐔰-𐕯", } m["Ahom"] = { canonicalName..." current
- 00:0700:07, 8 February 2023 diff hist +8,640 N Module:scripts Created page with "local export = {} local Script = {} function Script:getCode() return self._code end function Script:getCanonicalName() return self._rawData.canonicalName end function Script:getDisplayForm() return self:getCategoryName("nocap") end function Script:getOtherNames(onlyOtherNames) return require("Module:language-like").getOtherNames(self, onlyOtherNames) end function Script:getAliases() return self._rawData.aliases or {} end function Script:getVarieties(flatt..." current
- 00:0600:06, 8 February 2023 diff hist +5,294 N Module:syllables Created page with "local export = {} local diphthongs = mw.loadData("Module:IPA/data").diphthongs local vowels = mw.loadData("Module:IPA/data/symbols").vowels .. "ᵻ" .. "ᵿ" local U = mw.ustring.char --[[ No use for this at the moment, though it is an interesting catalogue. It might be usable for phonetic transcriptions. Diacritics added to vowels: inverted breve above, inverted breve below, up tack, down tack, left tack, right tack, diaeresis (above), diaeresis below, right h..." current
- 00:0600:06, 8 February 2023 diff hist +31 Template:Noun No edit summary
- 00:0300:03, 8 February 2023 diff hist −22 Module:accent qualifier/data Undo revision 1498 by Jācōbus (talk) current Tag: Undo
- 00:0300:03, 8 February 2023 diff hist +9 Module:accent qualifier No edit summary current
- 00:0100:01, 8 February 2023 diff hist +22 Module:accent qualifier/data No edit summary Tag: Reverted
7 February 2023
- 23:5723:57, 7 February 2023 diff hist −47 Module:IPA No edit summary
- 23:5623:56, 7 February 2023 diff hist +3 Module:IPA No edit summary
- 23:5023:50, 7 February 2023 diff hist +542 N Module:parameters/remove holes Created page with " -- A helper function that removes empty numeric indexes in a table, -- so that the values are tightly packed like in a normal Lua table. -- equivalent to require("Module:table").compressSparseArray return function (t) local ret = {} local index = 1 local highest = 0 for num, _ in pairs(t) do if type(num) == "number" and num > 0 and num < math.huge and math.floor(num) == num then highest = math.max(highest, num) end end for i = 1, highest do if t[i] then..." current
- 23:4923:49, 7 February 2023 diff hist +94 N Module:string/pattern escape Created page with "return function (str) return mw.ustring.gsub(str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1") end" current
- 23:4823:48, 7 February 2023 diff hist +20,510 N Module:string Created page with "local str = {} -- Cannot include null byte. local UTF8_char = "[\1-\127\194-\244][\128-\191]*" --[[ ulen Counts UTF-8 characters. Faster than mw.ustring.len. Assumes that the encoding is correct. Unlike mw.ustring.len, does not return nil if encoding is invalid. Does not count the bytes 192, 193, and 245-255. They are not used in UTF-8 and will not occur if the string is valid. They are replaced with the replacement character (U+FFFD) on MediaWiki pages. --]] functi..." current
- 23:4823:48, 7 February 2023 diff hist +43,812 N Module:languages/data2 Created page with "local u = mw.ustring.char -- Private use characters for sortkey placement. local a, b, c, d, e, f, g, h = u(0xF000), u(0xF001), u(0xF002), u(0xF003), u(0xF004), u(0xF005), u(0xF006), u(0xF007) -- UTF-8 encoded strings for some commonly-used diacritics local GRAVE = u(0x300) local ACUTE = u(0x301) local CIRC = u(0x302) local TILDE = u(0x303) local MACRON = u(0x304) local BREVE = u(0x306) local DOTABOVE = u(0x307) local DIAER = u(0x308) local..." current
- 23:4723:47, 7 February 2023 diff hist +25,070 N Module:IPA/data/symbols Created page with "local data = {} --[=[ Valid IPA symbols. Currently almost all values of "title" and "link" keys are just the comments that were used in Module:IPA. The "link" fields should be checked (those that start with an uppercase letter are checked). ]=] local U = mw.ustring.char data[1] = { -- PULMONIC CONSONANTS -- nasal ["m"] = { title = "bilabial nasal", link = "w:Bilabial nasal", }, ["ɱ"] = { title = "labiodental nasal", link = "w:Labiodental nasal"..." current
- 23:4723:47, 7 February 2023 diff hist +8,223 N Module:IPA/data Created page with "local data = {} --[=[ This should list the language codes of all languages that have a pronunciation page in the appendix of the form ''Appendix:LANG pronunciation'', e.g. Appendix:Russian pronunciation. For these languages, the text "key" next to the generated pronunciation links to such pages; for other languages, it links to the "LANG phonology" page in Wikipedia (which may or may not exist). Module:IPA is responsible for this linking; see format_IPA_full()...." current
- 23:4623:46, 7 February 2023 diff hist +12,013 N Module:IPA Created page with "local export = {} -- Module:IPA/data local m_data = mw.loadData('Module:IPA/data') -- Module:IPA/data local m_symbols = mw.loadData('Module:IPA/data/symbols') -- Module:IPA/data/symbols local m_syllables -- Module:syllables; loaded below if needed local sub = mw.ustring.sub local find = mw.ustring.find local gsub = mw.ustring.gsub local match = mw.ustring.match local gmatch = mw.ustring.gmatch local U = mw.ustring.char local function track(page) requi..."
- 23:4523:45, 7 February 2023 diff hist +20,277 N Module:table Created page with "--[[ ------------------------------------------------------------------------------------ -- table (formerly TableTools) -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should -- -- not be called directly from #invoke...." current
- 23:4423:44, 7 February 2023 diff hist +21,344 N Module:languages Created page with "local export = {} local function do_replacements(text, self, sc, replacement_data, function_name, recursed) -- If there are language-specific substitutes given in the data module, use those. if type(replacement_data) == "table" then -- If a script is specified, run this function with the script-specific data before continuing. local sc_code = sc:getCode() if replacement_data[sc_code] then text = do_replacements(text, self, sc, replacement_data[sc_code], funct..."