User contributions for NeonWabbit

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

27 May 2024

26 May 2024

  • 15:1715:17, 26 May 2024 diff hist +9,433 N Module:Formatted appearanceCreated page with "require("strict") -- This module requires the use of Module:List. local list = require("Module:List") local p = {} -- Local function which is used to get a correctly formatted entry. -- Function checks if the array had a value added by checking the counter, -- and returns the relevant result. local function getFormattedEntry(args, counter) if (counter == 1) then -- Check if the counter stayed the same. return "" -- Nothing was added to a..." current
  • 14:5114:51, 26 May 2024 diff hist −1,228 Template:BCI chaptersReplaced content with "{{#invoke:BCIChapterNavbox|generateNavbox}}" current Tag: Replaced
  • 14:4914:49, 26 May 2024 diff hist −212 Module:BCIChapterNavboxNo edit summary
  • 14:4714:47, 26 May 2024 diff hist 0 Module:BCIChapterNavboxNo edit summary
  • 14:4614:46, 26 May 2024 diff hist +2,673 N Module:BCIChapterNavboxCreated page with "local p = {} -- Define the 5-year ranges and styles local groups = { { name = '2010–2014', start_year = 2010, end_year = 2014, style = 'background:#707ebd;color:white;', group = 'group1', list = 'list1', }, { name = '2015–2019', start_year = 2015, end_year = 2019, style = 'background:#912f28;color:white;', group = 'group2', list = 'list2', }, {..."
  • 14:4114:41, 26 May 2024 diff hist +48 N Augustus, You Jerk 2Created page with "{{Correct title|Augustus, You Jerk #2|reason=#}}"
  • 14:4114:41, 26 May 2024 diff hist +836 N Module:ProtectCreated page with "local function processResult(options, success, ...) if not success then local message = tostring(... or '(no message)') if options.removeLocation then message = string.gsub(message, '^Module:[^:]+:%d+: ', '', 1) end return string.format(options.errFormat, message) end return ... end local function protect(func, errFormat, options) if type(errFormat) == 'table' then options = options or errFormat errFormat = nil end options = mw.clone(options) or {}..." current
  • 14:4114:41, 26 May 2024 diff hist +3,545 N Module:Namespace detect/configCreated page with "-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --..." current
  • 14:4114:41, 26 May 2024 diff hist +23,596 N Module:TextCreated page with "local yesNo = require("Module:Yesno") local Text = { serial = "2022-07-21", suite = "Text" } --[=[ Text utilities ]=] -- local globals local PatternCJK = false local PatternCombined = false local PatternLatin = false local PatternTerminated = false local QuoteLang = false local QuoteType = false local RangesLatin = false local SeekQuote = false local function initLatinData() if not RangesLatin then..." current
  • 14:4014:40, 26 May 2024 diff hist +2,569 N Module:Namespace detect/dataCreated page with "-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for Module:Namespace detect to be loaded per -- -- page, rather than per #invoke, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Module:Namespace detect/config') local function..." current
  • 14:4014:40, 26 May 2024 diff hist +911 N Module:CallAssertCreated page with "local function pack(...) return {...}, select('#', ...) end local function mapArray(func, array, count) local result = {} for i = 1, count or #array do result[i] = func(array[i]) end return result end local function quote(value) if type(value) == 'string' then return (string.gsub(string.format('%q', value), '\\\n', '\\n')) -- Outer parentheses remove second value returned by gsub end local str = tostring(value) if type(value) == 'table' and str ~= 'table'..." current
  • 14:4014:40, 26 May 2024 diff hist +1,129 N Module:ErrorCreated page with "-- This module implements {{error}}. local p = {} local function _error(args) local tag = mw.ustring.lower(tostring(args.tag)) -- Work out what html tag we should use. if not (tag == 'p' or tag == 'span' or tag == 'div') then tag = 'strong' end -- Generate the html. return tostring(mw.html.create(tag) :addClass('error') :wikitext(tostring(args.message or args[1] or error('no message specified', 2))) ) end function..." current
  • 14:4014:40, 26 May 2024 diff hist +60 N Template:ErrorCreated page with "{{#invoke:Error|error|{{{message|{{{1}}}}}}|tag={{{tag|}}}}}" current
  • 14:3914:39, 26 May 2024 diff hist −6 Template:Correct titleNo edit summary
  • 14:3814:38, 26 May 2024 diff hist +5,992 N Module:Namespace detectCreated page with "--[[ -------------------------------------------------------------------------------- -- -- -- NAMESPACE DETECT -- -- -- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are..." current
  • 14:3714:37, 26 May 2024 diff hist +415 N Module:Hatnote/styles.cssCreated page with "→‎{{pp|small=y}}: .hatnote { font-style: italic; } →‎Limit structure CSS to divs because of [[Module:Hatnote inline]]: div.hatnote { →‎@noflip: padding-left: 1.6em; margin-bottom: 0.5em; } .hatnote i { font-style: normal; } →‎The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .hatnote + link + .hatnote { margin-top: -0.5em; }" current
  • 14:3714:37, 26 May 2024 diff hist +70 N Template:Terminate sentenceCreated page with "{{{1}}}{{#if:{{#invoke:text|sentenceTerminated|{{{1|}}}}}||{{{2|.}}}}}" current
  • 14:3114:31, 26 May 2024 diff hist +56 N Template:Namespace detectCreated page with "{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}" current
  • 14:3114:31, 26 May 2024 diff hist +1,915 N Module:PageCreated page with "local callAssert = require('Module:CallAssert') local function main(frame, field) local args, pargs = frame.args, ( frame:getParent() or {} ).args or {} local makeTitle=args.makeTitle or pargs.makeTitle local namespace=args.namespace or pargs.namespace or "" local fragment=args.fragment or pargs.fragment or "" local interwiki=args.interwiki or pargs.interwiki or "" local page=args.page or args[1] or pargs.page or pargs[1] or "" local id= tonumber( args.id or parg..." current
  • 14:3014:30, 26 May 2024 diff hist +6,037 N Module:HatnoteCreated page with "-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modules...." current
  • 14:2914:29, 26 May 2024 diff hist +21 Template:BCI chaptersNo edit summary
  • 14:2914:29, 26 May 2024 diff hist +54 N Template:HatnoteCreated page with "<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly>" current
  • 14:2814:28, 26 May 2024 diff hist +588 N Template:Self-referenceCreated page with "{{#switch:{{{2|NONE}}} |NONE|hatnote|hat={{Hatnote|extraclasses=plainlinks selfreference noprint|1={{{1}}}}} |inline=<div class="plainlinks selfreference" style="display:inline; font-style: italic;"><!--Same style as class hatnote.-->{{{1}}}</div> |<!--Matching the empty string here for unprintworthy content is for backwards compatibility with the 2006-2008 version. Do not depend on it!-->=<div style="display:inline;" class="plainlinks selfreference noprint">{{{1}}}</di..." current
  • 14:2814:28, 26 May 2024 diff hist +37 N Template:SelfrefRedirected page to Template:Self-reference current Tag: New redirect
  • 14:2814:28, 26 May 2024 diff hist +2,086 N Template:Correct titleCreated page with "{{selfref|1=The correct title of this {{#if:{{NAMESPACE}}|page|article}} is {{terminate sentence|'''{{{title|{{{1|{{Error|not specified}}}}}}}}'''}} {{#switch:{{{reason|}}} |:|namespace = The {{{edit|substitution or omission}}} of the colon is |(|bracket|brackets = The {{{edit|{{#switch:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }} |2 = omi..."

25 May 2024

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)