User contributions for Maxwells

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

21 May 2022

  • 15:1415:14, 21 May 2022 diff hist 0 Module:Pagetype/configNo edit summary
  • 15:1315:13, 21 May 2022 diff hist +3,847 N Module:Pagetype/configCreated page with "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- St..."
  • 15:1315:13, 21 May 2022 diff hist +858 N Template:Fix/categoryCreated page with "<noinclude>{{pp-template|small=yes}}</noinclude>{{{cat|Category:All pages needing cleanup}}}{{#if:{{{cat-date|}}} |[[{{{cat-date}}} {{#if:{{{date|}}} |from {{{date}}} }}]]{{#if:{{{date|}}} |{{#ifexist:{{{cat-date}}} from {{{date}}}| |Category:Articles with invalid date parameter in template }} }} }}{{#if:{{{cat2|}}}|{{{cat2}}}}}{{#if:{{{cat-date2|}}} |[[{{{cat-date2}}} {{#if:{{{date|}}} |from {{{date}}} }}]]{{#if:{{{date|}}} |{{#ifex..."
  • 15:1215:12, 21 May 2022 diff hist +21 Module:Category handler/blacklistNo edit summary
  • 15:1215:12, 21 May 2022 diff hist +761 N Module:Category handler/blacklistCreated page with "-- This module contains the blacklist used by Module:Category handler. -- Pages that match Lua patterns in this list will not be categorised unless -- categorisation is explicitly requested. return { '^Main Page$', -- don't categorise the main page. -- Don't categorise the following pages or their subpages. -- "%f[/\0]" matches if the next character is "/" or the end of the string. '^Wikipedia:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]', -- The userbo..."
  • 15:1115:11, 21 May 2022 diff hist +6,765 N Module:PagetypeCreated page with "-------------------------------------------------------------------------------- -- -- -- PAGETYPE -- -- -- -- This is a meta-module intended to replace {{pagetype}} and similar -- -- templates. It automatically detects namespaces, and allows for..."
  • 15:1115:11, 21 May 2022 diff hist +888 N Module:Category handler/sharedCreated page with "-- This module contains shared functions used by Module:Category handler -- and its submodules. local p = {} function p.matchesBlacklist(page, blacklist) for i, pattern in ipairs(blacklist) do local match = mw.ustring.match(page, pattern) if match then return true end end return false end function p.getParamMappings(useLoadData) local dataPage = 'Module:Namespace detect/data' if useLoadData then return mw.loadData(dataPage).mappings else return..."
  • 15:1015:10, 21 May 2022 diff hist +5,755 N Module:Category handler/configCreated page with "-------------------------------------------------------------------------------- -- Module:Category handler configuration data -- -- Language-specific parameter names and values can be set here. -- -- For blacklist config, see Module:Category handler/blacklist. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. ----------------------------..."
  • 15:1015:10, 21 May 2022 diff hist +827 N Template:Short description/lowercasecheckCreated page with "{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1 |<!-- first character is a lower case letter; test against whitelist -->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist--> |c. <!--for circa--> |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --> |#default=<!-- apply c..." current
  • 15:1015:10, 21 May 2022 diff hist +179 N Template:PagetypeCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 15:0915:09, 21 May 2022 diff hist +631 N Module:Category handler/dataCreated page with "-- This module assembles data to be passed to Module:Category handler using -- mw.loadData. This includes the configuration data and whether the current -- page matches the title blacklist. local data = require('Module:Category handler/config') local mShared = require('Module:Category handler/shared') local blacklist = require('Module:Category handler/blacklist') local title = mw.title.getCurrentTitle() data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(..."
  • 15:0915:09, 21 May 2022 diff hist +1,021 N Template:Short descriptionCreated page with "{{#ifeq:{{lc:{{{1|}}}}}|none|<nowiki /><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description{{#ifeq:{{{pagetype}}}|Disambiguation pages|s}}]]</includeonly><!-- Start tracking -->{{#invoke:Check for unknown parameters|che..." current
  • 15:0815:08, 21 May 2022 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. -- --..."
  • 15:0815:08, 21 May 2022 diff hist +7,122 N Module:DelinkCreated page with "-- This module de-links most wikitext. require("Module:No globals") local p = {} local getArgs local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes. return s end return s:match("%[%[|(.*)%]%]") end local function delinkPipeTrick(s) -- We need to deal with colons, brackets, and commas, per Help:Pipe trick. -- First, remove the text before the first colon, if any. if s:match(":") then s = s:ma..." current
  • 15:0715:07, 21 May 2022 diff hist +7,871 N Module:Category handlerCreated page with "-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace alia..."
  • 15:0715:07, 21 May 2022 diff hist +2,183 N Module:Navbox/styles.cssCreated page with "→‎{{pp|small=y}}: .navbox { 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: } .navbox .navbox { margin-top: 0; →‎No top margin for nested navboxes: } .navbox + .navbox, →‎TODO: remove first line after transclusions have updated: .navbox + .navbox-styles + .navbox { margin-top: -1px; /* Single pix..."
  • 15:0715:07, 21 May 2022 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..."
  • 15:0615:06, 21 May 2022 diff hist +6,396 N Module:Format linkCreated page with "-------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the {{format link}} template. -------------------------------------------------------------------------------- local libraryUtil = require(..."
  • 15:0615:06, 21 May 2022 diff hist +179 N Template:DelinkCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 15:0615:06, 21 May 2022 diff hist +659 N Template:ClCreated page with "{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Stub types for deletion |[[:Category:{{{1}}}|Cat:{{{1}}}]] | [[:Category:{{{1}}}|{{{2|Category:{{{1}}}}}}]]{{#ifeq:{{Yesno|{{{count|no}}}}}|yes|<small> {{#ifexpr:{{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}|R}}>={{{backlog|{{#expr:{{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}|R}}+1}}}}}|<span style="font-weight: bold; color: #DD0000;">}}( {{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}}} ){{#ifexpr:{{PAGESINCAT..."
  • 15:0615:06, 21 May 2022 diff hist +148 N Template:Category handlerCreated page with "{{#invoke:Category handler|main}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, and interwikis to Wikidata. --> </noinclude>" current
  • 15:0515:05, 21 May 2022 diff hist +2,829 N Module:Side boxCreated page with "-- This module implements {{side box}}. local yesno = require('Module:Yesno') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end function p._main(args) local data = p.makeData(args) return p.renderSidebox(data) end function p.makeData(args) local data = {} -- Main table classes data.classe..."
  • 15:0515:05, 21 May 2022 diff hist +3,597 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' } }, -- do not localize marker table marker = { oddeven = '\127_ODDEVEN_\127', restart = '\127_ODDEVEN0_\127', regex = '\127_ODDEVEN(%d?)_\127' }, category = { orphan = 'Category:Navbox orphans', horizontal_lists = 'Navigational boxes without horizon..."
  • 15:0415:04, 21 May 2022 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..."
  • 15:0415:04, 21 May 2022 diff hist +7,451 N Module:Hatnote listCreated page with "-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants. Also introd..."
  • 15:0415:04, 21 May 2022 diff hist +1,180 N Template:FixCreated page with "{{#switch:{{{subst|¬}}} |¬={{category handler |template=Category:Templates needing substitution checking |nocat={{{nocat|<noinclude>true</noinclude>}}} }} |SUBST=Category:Pages with incorrectly substituted templates }}{{Category handler |main={{Fix/category |cat-date={{{cat-date|}}} |cat={{{cat|}}} |cat-date2={{{cat-date2|}}} |cat2={{{cat2|}}} |cat-date3={{{cat-date3|}}} |cat3={{{cat3|}}} |date={{{date|}}} }} |template={{#if:{{{nam..."
  • 15:0415:04, 21 May 2022 diff hist +181 N Template:Absolute page titleCreated page with "<includeonly>{{#ifeq:0|{{NAMESPACENUMBER:{{{2|{{FULLPAGENAME}}}}}}}|:{{{1}}}|:{{#rel2abs:{{{1}}}|{{{2|{{FULLPAGENAME}}}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>" current
  • 15:0315:03, 21 May 2022 diff hist +3,948 N Module:UnsubstCreated page with "local checkType = require('libraryUtil').checkType local p = {} local BODY_PARAM = '$B' local specialParams = { ['$params'] = 'parameter list', ['$aliases'] = 'parameter aliases', ['$flags'] = 'flags', ['$B'] = 'template content', ['$template-name'] = 'template invocation name override', } function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if -- not, it returns the template body. The template body can be specif..."
  • 15:0315:03, 21 May 2022 diff hist +4,584 N Module:Section linkCreated page with "-- This module implements {{section link}}. require('Module:No globals'); local checkType = require('libraryUtil').checkType local p = {} local function makeSectionLink(page, section, display) display = display or section page = page or '' -- MediaWiki doesn't allow these in `page`, so only need to do for `section` if type(section) == 'string' then section = string.gsub(section, "{", "{") section = string.gsub(section, "}", "}") end return string.f..."
  • 15:0215:02, 21 May 2022 diff hist +4,518 N Module:Redirect hatnoteCreated page with "--[[ -- This module produces a "redirect" hatnote. It looks like this: -- '"X" redirects here. For other uses, see Y.' -- It implements the {{redirect}} template. --]] local mHatnote = require('Module:Hatnote') local mHatList = require('Module:Hatnote list') local mArguments --lazily initialize local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local p = {} local function getTitle(...)..."
  • 15:0215:02, 21 May 2022 diff hist +16,064 N Module:NavboxCreated page with "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 -- where a child navbox is no..."
  • 15:0215:02, 21 May 2022 diff hist +3,414 N Module:Labelled list hatnoteCreated page with "-------------------------------------------------------------------------------- -- Labelled list -- -- -- -- This module does the core work of creating a hatnote composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of pages]", -- -- for {{see also}} and similar templates...."
  • 15:0215:02, 21 May 2022 diff hist +1,346 N Module:ForCreated page with "local mArguments --initialize lazily local mHatlist = require('Module:Hatnote list') local mHatnote = require('Module:Hatnote') local yesNo = require('Module:Yesno') local p = {} --Implements {{For}} from the frame --uses capitalized "For" to avoid collision with Lua reserved word "for" function p.For (frame) mArguments = require('Module:Arguments') return p._For(mArguments.getArgs(frame)) end --Implements {{For}} but takes a manual arguments table function p._For (a..."
  • 15:0115:01, 21 May 2022 diff hist +1,271 N Module:BroaderCreated page with "--[[ -- This module produces a "For a broader coverage related to this topic" link. It implements -- the {{broader}} template. --]] local mHatlist = require('Module:Hatnote list') local mHatnote = require('Module:Hatnote') local mArguments -- lazily initialize local mTableTools --lazily initialize local p = {} local s = { --localizable strings broaderForm = 'For broader coverage of %s, see %s.', defaultTopic = 'this topic' } function p.broader(frame) mArguments =..." current
  • 15:0115:01, 21 May 2022 diff hist +647 N Module:AnchorCreated page with "-- This module implements {{anchor}}. local getArgs = require('Module:Arguments').getArgs local tableTools = require('Module:TableTools') local p = {} function p.main(frame) -- Get the positional arguments from #invoke, remove any nil values, -- and pass them to p._main. local args = getArgs(frame) local argArray = tableTools.compressSparseArray(args) return p._main(unpack(argArray)) end function p._main(...) -- Generate the list of anchors. local anchors = {...."
  • 15:0115:01, 21 May 2022 diff hist +28 N Template:SmallerMaxwells moved page Template:Smaller to Template:Small current Tag: New redirect
  • 15:0115:01, 21 May 2022 diff hist 0 m Template:SmallMaxwells moved page Template:Smaller to Template:Small current
  • 14:5914:59, 21 May 2022 diff hist +142 N Template:Side boxCreated page with "{{#invoke:Side box|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
  • 14:5914:59, 21 May 2022 diff hist +146 N Template:OmboxCreated page with "{{#invoke:Message box|ombox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
  • 14:5914:59, 21 May 2022 diff hist +94 N Template:NavboxCreated page with "<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude> {{Documentation}} </noinclude>"
  • 14:5814:58, 21 May 2022 diff hist +173 N Template:Namespace detectCreated page with "{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
  • 14:5814:58, 21 May 2022 diff hist +2,645 N Help:Transclusion/How Transclusion WorksCreated page with "To '''transclude''' any '''source''' page (within a single MediaWiki project, such as en:Wikipedia), use the following code in the '''target''' page: <code><nowiki>{{SOURCEPAGE}}</nowiki></code> Any time you write the code (<code><nowiki>{{SOURCEPAGE}}</nowiki></code>) in a target page, you are telling Wikipedia software to put the entire content of <code><nowiki>SOURCEPAGE</nowiki></code> in the target page. In the example below, look at target page '''A''' and <cod..."
  • 14:5714:57, 21 May 2022 diff hist +322 N Template:VarCreated page with "<var {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="padding-right: 1px;{{{style|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</var><noinclude> <!--Categories and interwikis go near the bottom of the /doc page.--> {{Documentation}} </noinclude>"
  • 14:5714:57, 21 May 2022 diff hist +533 N Template:Transcluded sectionCreated page with "{{hatnote |extraclasses=relarticle mainarticle selfreference noprint |1={{#if: {{{table|}}} | This table | {{#ifeq:{{Yesno-no|{{{part|}}}}}|yes|Part of this section|This section}} }} is transcluded from [[{{{1|{{{source|}}}}}}]]. <span class="plainlinks" style="font-style: normal">{{small|([{{fullurl:{{Absolute page title|{{{1|{{{source|}}}}}}}}|action=edit}} edit] | [{{fullurl:{{Absolute page title|{{{1|{{{source|}}}}}}}}|action=history}} hist..." current
  • 14:5714:57, 21 May 2022 diff hist +11,092 N Template:Stiles.casa Wiki technical helpCreated page with "<noinclude>{{Notice |style=margin-bottom:1.5em; |1=<span style="font-size:large;color:purple;">Please do not post your requests or questions on this page. If you have questions about using Wikipedia, please ask at the '''Help desk''' or the '''Teahouse'''. For questions about subjects and topics, please use the '''Reference Desk'''. Volunteers at these locations will respond to your question..."
  • 14:5714:57, 21 May 2022 diff hist +628 N Template:Stiles.casa Wiki glossaryCreated page with "{{Side box | imageright = File:Wiki letter w.svg | text = This page is referenced in the {{#if:{{{1|}}} |Wikipedia Glossary, under {{{1}}} |{{nowrap|Wikipedia Glossary}} }}. | class = plainlinks }}<includeonly>{{#switch:{{NAMESPACE}} |Help|Wikipedia={{#if:{{{nocat|{{{category|}}}}}}||Category:Wikipedia glossary items}} |User={{#ifeq:{{YesNo-No|{{{category}}}}}|yes|Category:Wikipedia glossa..."
  • 14:5614:56, 21 May 2022 diff hist +146 N Template:SlinkCreated page with "{{#invoke:Section link|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
  • 14:5614:56, 21 May 2022 diff hist +169 N Template:ShortcutCreated page with "<includeonly>{{#invoke:Shortcut|main}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 14:5614:56, 21 May 2022 diff hist +199 N Template:See alsoCreated page with "<includeonly>{{#invoke:Labelled list hatnote|labelledList|See also}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
  • 14:5514:55, 21 May 2022 diff hist +251 N Template:SeeCreated page with "<includeonly>{{#invoke:labelled list hatnote|labelledList|Further information{{#if:{{{topic|}}}| on {{{topic|}}}}}}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)