User contributions for Jācōbus

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

15 February 2023

14 February 2023

13 February 2023

11 February 2023

  • 21:1321:13, 11 February 2023 diff hist +6,333 N Module:links/templatesCreated page with "local export = {} local m_debug = require("Module:debug") local m_languages = require("Module:languages") local m_links = require("Module:links") local m_parameters = require("Module:parameters") local m_scripts = require("Module:scripts") --[=[ Modules used: Module:links Module:languages Module:scripts Module:parameters Module:debug ]=] -- Used in Template:l and Template:m. function export.l_term_t(frame) local plain_param = {} loca..." current
  • 20:4620:46, 11 February 2023 diff hist +296 N Template:la-decl-1st/style.cssCreated page with ".inflection-table-la .corner-header, .inflection-table-la .number-header { background-color: #549EA0; text-align: center } .inflection-table-la .case-header { background-color: #40E0D0; text-align: center } .inflection-table-la .form-cell { background-color: #F8F8FF; text-align: center }" current
  • 20:4520:45, 11 February 2023 diff hist −4 Template:Noun-DeclNo edit summary
  • 20:4520:45, 11 February 2023 diff hist +5,254 N Module:palindromes/dataCreated page with "local u = mw.ustring.char local data = { ["ar"] = { allow_repeated_char = true, from = { "[أإآ]", "ؤ", "[ئى]", "ة", "ء", }, to = { "ا", "و", "ي", "ه", }, }, ["arc"] = { allow_repeated_char = true, from = { "ם", "ן", "ך", "ף", "ץ", "ﭏ", "װ", "ױ", "ײ", "[״׳־]", }, to = { "מ", "נ", "כ", "פ", "צ", "אל", "וו", "וי", "יי", } }, ["..." current
  • 20:4420:44, 11 February 2023 diff hist +1,618 N Module:palindromesCreated page with "local export = {} local data = mw.loadData("Module:palindromes/data") local function ignoreCharacters(term, lang, sc, langdata) term = mw.ustring.lower(term) term = mw.ustring.gsub(term, "[ ,%.%?!%%%-'\"]", "") -- Language-specific substitutions -- Ignore entire scripts (e.g. romaji in Japanese) if langdata.ignore then sc_name = sc and sc:getCode() or require("Module:scripts").findBestScript(term, lang):getCode() for _, script in ipairs(langdata.ignore) do..." current
  • 20:4420:44, 11 February 2023 diff hist +2 Module:headwordNo edit summary current
  • 20:4320:43, 11 February 2023 diff hist +9,475 N Module:headword/dataCreated page with "local data = {} data.invariable = { "cmavo", "cmene", "fu'ivla", "gismu", "Han tu", "hanja", "hanzi", "jyutping", "kanji", "lujvo", "phrasebook", "pinyin", "rafsi", "romaji", } data.lemmas = { "abbreviations", "acronyms", "adjectives", "adnominals", "adpositions", "adverbs", "affixes", "ambipositions", "articles", "circumfixes", "circumpositions", "classifiers", "cmavo", "cmavo clusters", "cmene", "combining forms", "conjunctions", "coun..." current
  • 20:4320:43, 11 February 2023 diff hist +23,966 N Module:headwordCreated page with "local export = {} local find = mw.ustring.find local gmatch = mw.ustring.gmatch local gsub = mw.ustring.gsub local len = mw.ustring.len local toNFC = mw.ustring.toNFC local upper = mw.ustring.upper local m_data = mw.loadData("Module:headword/data") local title = mw.title.getCurrentTitle() local isLemma = m_data.lemmas local isNonLemma = m_data.nonlemmas local notranslit = m_data.notranslit local toBeTagged = m_data.toBeTagged -- If set to true, categories always app..."
  • 20:4220:42, 11 February 2023 diff hist +129 N Module:TemplateStylesCreated page with "return function (CSS_page) return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = CSS_page } } end" current
  • 20:4120:41, 11 February 2023 diff hist +35,822 N Module:la-adj/tableCreated page with "local export = {} local m_table = require("Module:table") local function convert(data, conv) local col = {} local row = {} local colors = {} local marked = {} local slots = {} local function add(i,j) local col = col[i][j] local row = row[i][j] local color = colors[i][j] if col==0 or row==0 then return "" end local entry = data.finish_show_form(data, slots[i][j]) if col==1 then if row==1 then return '\n|style="background:#' .. color .. ';"..."
  • 20:4120:41, 11 February 2023 diff hist +30,876 N Module:la-adj/dataCreated page with "local decl = {} local lang = require("Module:languages").getByCode("la") local m_links = require("Module:links") local m_utilities = require("Module:utilities") local rmatch = mw.ustring.match local function glossary_link(anchor, text) text = text or anchor return "" .. text .. "" end local function decl_link(english_declension, decl_text) decl_text = decl_text or english_declension .. "-declension" return "[[Appendix:Latin..." current
  • 20:4020:40, 11 February 2023 diff hist +6,389 N Module:arrayCreated page with "local Array = {} local array_constructor -- Copy table library so as not to unexpectedly change the behavior of code that -- uses it. local array_methods = mw.clone(table) -- Create version of table.sort that returns the table. array_methods.sort = function (t, comp) table.sort(t, comp) return t end -- ipairs and unpack operate on arrays. array_methods.ipairs = ipairs array_methods.unpack = unpack function array_methods:type() local mt = getmetatable(self) return..." current
  • 20:4020:40, 11 February 2023 diff hist +3,926 N Module:la-noun/tableCreated page with "local export = {} local Array = require 'Module:array' local function add_forms(wikitable, forms) if type(wikitable) ~= 'string' then error('Expected string, got ' .. type(wikitable)) end wikitable = wikitable:gsub('{{{([^}]+)}}}', forms) return wikitable end local stylesheet = require("Module:TemplateStyles")("Template:la-decl-1st/style.css") function export.make_table_sg(data) local output = Array(data.title, stylesheet) output:insert [=[ {| class="wikit..."
  • 20:4020:40, 11 February 2023 diff hist +8,973 N Module:string utilitiesCreated page with "local module_name = "string_utilities" local export = {} local rfind = mw.ustring.find local format_escapes = { ["op"] = "{", ["cl"] = "}", } function export.format_fun(str, fun) return (string.gsub(str, "{(\\?)((\\?)[^{}]*)}", function (p1, name, p2) if #p1 + #p2 == 1 then return format_escapes[name] or error(module_name .. ".format: unrecognized escape sequence '{\\" .. name .. "}'") else if fun(name) and type(fun(nam..." current
  • 20:3920:39, 11 February 2023 diff hist +32,480 N Module:la-noun/dataCreated page with "local decl = {} local lang = require("Module:languages").getByCode("la") local m_links = require("Module:links") local m_utilities = require("Module:utilities") local rsplit = mw.text.split local rfind = mw.ustring.find local rmatch = mw.ustring.match local rsubn = mw.ustring.gsub -- version of rsubn() that discards all but the first return value local function rsub(term, foo, bar) local retval = rsubn(term, foo, bar) return retval end local function glossary_link(..." current
  • 20:3820:38, 11 February 2023 diff hist +94,681 N Module:la-nominalCreated page with "local export = {} --[=[ Authorship: Ben Wing <benwing2>, with many ideas and a little code coming from the old Module:la-decl-multi by KC Kenny Lau. ]=] -- TODO: -- (DONE) Eliminate specification of noteindex from la-adj/data -- (DONE?) Finish autodetection of adjectives -- (DONE) Remove old noun code -- (DONE) Implement <.sufn> -- (DONE) Look into adj voc=false -- (DONE) Handle loc in adjectives -- Error on bad subtypes -- Make sure Google Books link still work..."
  • 20:3820:38, 11 February 2023 diff hist +38 N Template:Noun-DeclCreated page with "{{#invoke:la-headword|show|nouns}}<!--"
  • 20:1820:18, 11 February 2023 diff hist −2 Module:linksNo edit summary Tag: Manual revert
  • 20:1720:17, 11 February 2023 diff hist +2 Module:linksNo edit summary Tag: Reverted
  • 20:1220:12, 11 February 2023 diff hist +4,040 Module:linksNo edit summary Tag: Manual revert
  • 20:1020:10, 11 February 2023 diff hist −2,695 Module:linksNo edit summary Tag: Reverted
  • 20:0920:09, 11 February 2023 diff hist −1,345 Module:linksNo edit summary Tag: Reverted
  • 20:0420:04, 11 February 2023 diff hist +5,648 N Module:debugCreated page with "local export = {} local escape do local escapes = { ["\a"] = "a", ["\b"] = "b", ["\f"] = "f", ["\n"] = "n", ["\r"] = "r", ["\t"] = "t", ["\v"] = "v", ["\\"] = "\\", ["\""] = '"', ["'"] = "'", } local function helper(char) return escapes[char] and "\\" .. escapes[char] or ("\\%03d"):format(char:byte()) end -- Escape control characters, backslash, double quote, and bytes that aren't -- used in UTF-8. -- Escape stuff that can't be saved in a MediaWiki p..." current
  • 19:5519:55, 11 February 2023 diff hist +3,107 N Module:gender and number/dataCreated page with " local data = {} -- A list of all possible "parts" that a specification can be made out of. For each part, we list -- the class it's in (gender, animacy, etc.), the associated category (if any) and the display form. -- In a given gender/number spec, only one part of each class is allowed. data.codes = { ["?"] = {type = "other", display = '<abbr title="gender incomplete">?</abbr>'}, ["?!"] = {type = "other", display = '<abbr title="gender unattested">gender unattested<..." current
  • 19:5519:55, 11 February 2023 diff hist +9,331 N Module:gender and numberCreated page with "--[=[ This module creates standardised displays for gender and number. It converts a gender specification into Wiki/HTML format. A gender/number specification consists of one or more gender/number elements, separated by hyphens. Examples are: "n" (neuter gender), "f-p" (feminine plural), "m-an-p" (masculine animate plural), "pf" (perfective aspect). Each gender/number element has the following properties: 1. A code, as used in the spec, e.g. "f" for feminine, "p"..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)