User contributions for Jācōbus

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

11 February 2023

9 February 2023

8 February 2023

  • 00:1300:13, 8 February 2023 diff hist +61 Template:AdjectiveNo edit summary
  • 00:1300:13, 8 February 2023 diff hist −44 Template:VerbNo edit summary
  • 00:1200:12, 8 February 2023 diff hist +30 Template:NounNo edit summary
  • 00:1100:11, 8 February 2023 diff hist +31 Template:VerbNo edit summary
  • 00:0900:09, 8 February 2023 diff hist +7,720 N Module:languages/data3/uCreated 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/findBestScriptCreated 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/dataCreated 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:scriptsCreated 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:syllablesCreated 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:NounNo edit summary
  • 00:0300:03, 8 February 2023 diff hist −22 Module:accent qualifier/dataUndo revision 1498 by Jācōbus (talk) current Tag: Undo
  • 00:0300:03, 8 February 2023 diff hist +9 Module:accent qualifierNo edit summary current
  • 00:0100:01, 8 February 2023 diff hist +22 Module:accent qualifier/dataNo edit summary Tag: Reverted

7 February 2023

  • 23:5723:57, 7 February 2023 diff hist −47 Module:IPANo edit summary
  • 23:5623:56, 7 February 2023 diff hist +3 Module:IPANo edit summary
  • 23:5023:50, 7 February 2023 diff hist +542 N Module:parameters/remove holesCreated 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 escapeCreated 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:stringCreated 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/data2Created 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/symbolsCreated 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/dataCreated 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:IPACreated 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:tableCreated 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:languagesCreated 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..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)