User contributions for Aviv

A user with 66 edits. Account created on 13 July 2024.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)

13 July 2024

  • 19:5619:56, 13 July 2024 diff hist +458 N Module:No globalsCreated page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then -- perf optimization here and below: do not load Module:TNT unless there is an error error(require('Module:TNT').format('I18n/No globals', 'err-read', tostring(k)), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error(require('Module:TNT').format('I18n/No globals', 'err-write', tostring(k)), 2) end rawset(t, k, v) end setmetatable(_G, mt)" current
  • 19:5519:55, 13 July 2024 diff hist +2,435 N Module:Navbox/styles.cssCreated page with ".nav_box { box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; →‎Prevent preceding content from clinging to navboxes: } .nav_box .nav_box { margin-top: 0; →‎No top margin for nested navboxes: } .nav_box + .nav_box, →‎TODO: remove first line after transclusions have updated: .nav_box + .navbox-styles + .nav_box { margin-top: -1px; /* Single pixel border betw..." current
  • 19:5519:55, 13 July 2024 diff hist +3,712 N Module:Navbox/configurationCreated page with "return { aria_label = 'Navbox', nowrap_item = '%s<span class="nowrap">%s</span>', templatestyles = mw.getCurrentFrame():extensionTag{ name = 'templatestyles', args = { src = 'Module:Navbox/styles.css' } }, hlist_templatestyles = 'Hlist/styles.css', plainlist_templatestyles = 'Plainlist/styles.css', -- do not localize marker table marker = { oddeven = '\127_ODDEVEN_\127', restart = '\127_ODDEVEN0_\127', regex = '\127_ODDEVEN(%d?)_\127' }, category = {..." current
  • 19:5519:55, 13 July 2024 diff hist +17,572 N Module:NavboxCreated page with "require('Module:No globals') local p = {} local navbar = require('Module:Navbar')._navbar local cfg = mw.loadData('Module:Navbox/configuration') local getArgs -- lazily initialized local args local format = string.format local function striped(wikitext, border) -- Return wikitext with markers replaced for odd/even striping. -- Child (subgroup) navboxes are flagged with a category that is removed -- by parent navboxes. The result is that the category shows all pages..." current
  • 19:5419:54, 13 July 2024 diff hist +719 N Module:Navbar/styles.cssCreated page with ".navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar-collapse { float: left; text-align: left; } .navbar-boxtext { word-spacing: 0; } .navbar ul { display: inline-block; white-space: nowrap; line-height: inherit; } .navbar-brackets::before { margin-right: -0.125em; content: '[ '; } .navbar-brackets::after { margin-left: -0.125em; content: ' ]'; } .navbar li { word-spacing: -0.125em; } .navbar a > span, .navbar a > abbr { text-de..." current
  • 19:5319:53, 13 July 2024 diff hist +918 N Module:Navbar/configurationCreated page with "return { ['templatestyles'] = 'Module:Navbar/styles.css', ['hlist_templatestyles'] = 'Flatlist/styles.css', ['box_text'] = 'This box: ', -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'hlist', -- horizontal..." current
  • 19:5219:52, 13 July 2024 diff hist +5,276 N Module:NavbarCreated page with "local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg end local function choose_links(template, args) -- The show table indicates the default displayed items. -- view, talk, edit, hist, move, watch -- TODO: Move to configuration. local show = {true, true, true, false, false..." current
  • 19:5219:52, 13 July 2024 diff hist +6,474 N Module:Message box/configurationCreated page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..." current
  • 19:5219:52, 13 July 2024 diff hist +2,230 N Module:Message box/ambox.cssCreated page with "→‎{{pp|small=y}}: .ambox { border: 1px solid #a2a9b1; →‎@noflip: border-left: 10px solid #36c; →‎Default "notice" blue: background-color: #fbfbfb; box-sizing: border-box; } →‎Single border between stacked boxes. Take into account base templatestyles, * user styles, and Template:Dated maintenance category. * remove link selector when T200206 is fixed: .ambox + link + .ambox, .ambox + link + style + .ambox, .ambox + link + link + .ambox, /* TODO: rais..." current
  • 19:5119:51, 13 July 2024 diff hist +18,242 N Module:Message boxCreated page with "local getArgs local yesno = require('Module:Yesno') local lang = mw.language.getContentLanguage() local CONFIG_MODULE = 'Module:Message box/configuration' local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- local funct..." current
  • 19:5119:51, 13 July 2024 diff hist +810 N Module:DidYouKnowCreated page with "--made by Lew Easy local p = {} function p.shuffle(tbl) local size = #tbl for i = size, 2, -1 do local rand = math.random(i) tbl[i], tbl[rand] = tbl[rand], tbl[i] end return tbl end function p.getDidYouKnow(frame) math.randomseed(os.time()) local facts = mw.text.split(frame.args.facts, "\n") local nonEmptyFacts = {} for _, fact in ipairs(facts) do if fact ~= "" then table.insert(nonEmptyFacts, fact..." current
  • 19:5019:50, 13 July 2024 diff hist +10,054 N Module:ArgumentsCreated page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..." current
  • 19:4819:48, 13 July 2024 diff hist +315 N Template:DailyQuoteCreated page with "<noinclude><!-- IMPORTANT: SET THE NUMBER HIGHER NUMBER AFTER MOD TO THE NUMBER OF QUOTES + 1! --></noinclude> <div class="dailyquote" style="margin:20px;"><center>''"{{#switch: {{#expr: {{#time: U}} mod 14 }} | 0 = Some quote | 1 = Some quote | 2 = Some quote | 3 = Some quote }}" - Foodie Beauty'' </center></div>"
  • 19:4719:47, 13 July 2024 diff hist +1,573 N Main Pageimported cyraxx wiki formatted main page
  • 19:2819:28, 13 July 2024 diff hist +2,240 N MediaWiki:Mobile.cssadded cyraxx wiki css current
  • 19:2819:28, 13 July 2024 diff hist +3,931 N MediaWiki:Common.cssadded css from cyraxx wiki current
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)