User contributions for Etenne
From BoyWiki
1 June 2022
- 23:5223:52, 1 June 2022 diff hist +4,362 N Module:Shortcut Created page with "-- This module implements {{shortcut}}. -- Set constants local CONFIG_MODULE = 'Module:Shortcut/config' -- Load required modules local checkType = require('libraryUtil').checkType local yesno = require('Module:Yesno') local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeCategoryLink(cat) return string.format('%s:%s', mw.site.namespaces[14].name, cat) end function p._main(shortcuts, options, fra..." current
- 23:5123:51, 1 June 2022 diff hist +18,315 N Module:Transclusion count/data/T Created page with "return { ["T"] = 277000, ["T1"] = 8600, ["T:TDYK"] = 2800, ["TAFI/Picture_box"] = 2800, ["TBA"] = 5100, ["TCH"] = 2400, ["TCMDb_name"] = 2400, ["TCMDb_title"] = 11000, ["TDMCA"] = 21000, ["TFAFULL"] = 11000, ["TFAIMAGE"] = 3100, ["TFAfooter"] = 8200, ["TFArecentlist"] = 3700, ["THA"] = 4000, ["TOC_bottom"] = 75000, ["TOC_left"] = 3200, ["TOC_left/styles.css"] = 3200, ["TOC_limit"] = 21000, ["TOC_limit/styles.css"] = 23000, ["TOC_right"] = 45000, ["TOC_right/styles.css"]..." current
- 23:4823:48, 1 June 2022 diff hist +105 N Template:Tsh Created page with "<includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>" current
- 23:4723:47, 1 June 2022 diff hist +2,174 N Module:Transclusion count Created page with "local p = {} function p.fetch(frame) local template = nil local return_value = nil -- Use demo parameter if it exists, otherswise use current template name local namespace = mw.title.getCurrentTitle().namespace if frame.args["demo"] and frame.args["demo"] ~= "" then template = frame.args["demo"] elseif namespace == 10 then -- Template namespace template = mw.title.getCurrentTitle().text elseif namespace == 828 then -- Module namespace template = (mw.site.n..." current
- 23:4523:45, 1 June 2022 diff hist +240 N Template:Tlc Created page with "<includeonly>{{#Invoke:Template link general|main|nolink=yes|code=yes|nowrap=yes}}</includeonly><noinclude> {{Documentation|1=Template:Tlg/doc |content = {{tlg/doc|tlc}} }} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
- 23:4323:43, 1 June 2022 diff hist +527 N Template:Lorem ipsum/P1 Created page with "{{#ifeq:{{{link|no}}}|yes|Lorem ipsum|Lorem ipsum}} dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim i..." current
- 23:4023:40, 1 June 2022 diff hist +98 N Template:Block indent/styles.css Created page with "→{{pp|small=yes}}: .block-indent { padding-left: 3em; padding-right: 0; overflow: hidden; }" current
- 23:3823:38, 1 June 2022 diff hist +855 N Template:Advert Created page with "{{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B= {{Ambox | name = Advert | type = content | class= ambox-Advert | issue= This {{{1|article}}} '''contains content that is written like {{#if:{{{2|{{{type|}}}}}}|{{{2|{{{type}}}}}}|an advertisement}}'''. | fix = Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve it] by removing promotional content and inap..." current
- 23:3723:37, 1 June 2022 diff hist +3,948 N Module:Unsubst Created 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..." current
- 23:3423:34, 1 June 2022 diff hist +328 Template:Para No edit summary current
- 23:2523:25, 1 June 2022 diff hist +89 Template:History No edit summary Tag: Manual revert
- 23:2423:24, 1 June 2022 diff hist −89 Template:History No edit summary Tags: Manual revert Reverted
- 23:1523:15, 1 June 2022 diff hist 0 BoyWiki:Current events/Announcements No edit summary
- 23:1423:14, 1 June 2022 diff hist +19 BoyWiki:Current events/Announcements No edit summary
- 23:0823:08, 1 June 2022 diff hist −406 Template:Flatlist/styles.css No edit summary current
- 23:0523:05, 1 June 2022 diff hist +980 N Module:Infobox/styles.css Created page with "→{{pp|small=y}}: →* This TemplateStyles sheet deliberately does NOT include the full set of * infobox styles. We are still working to migrate all of the manual * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] * DO NOT ADD THEM HERE: →* not strictly certain these styles are necessary since the modules now * exclusively output infobox-subbox or infobox, not both * just replicating the module faithfully: .infobox-subbox { padding: 0; borde..." current
- 23:0323:03, 1 June 2022 diff hist +4,651 N Template:Flatlist/doc Created page with "== Usage == {{tl|flatlist}} starts a horizontal list, such as: {{flatlist| * cat * dog * horse * cow * sheep * pig }} This template can be used with or without {{tl|endflatlist}}. For navigation boxes using {{tl|navbox}}, one can set {{para|listclass|hlist}}, and achieve the same styling without using this template. For image captions, list (i.e. asterisk) markup does not work, so consider using {{tl|hlist}} instead. == Parameters == {{#switch:..." current
- 22:5922:59, 1 June 2022 diff hist +248 N Template:Flatlist Created page with "<div class="hlist hlist-separated {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> {{documentation}} </noinclude>" current
- 22:0422:04, 1 June 2022 diff hist +10,521 N Module:Sidebar Created page with "-- -- This module implements {{Sidebar}} -- require('Module:No globals') local cfg = mw.loadData('Module:Sidebar/configuration') local p = {} local getArgs = require('Module:Arguments').getArgs --[[ Categorizes calling templates and modules with a 'style' parameter of any sort for tracking to convert to TemplateStyles. TODO after a long cleanup: Catch sidebars in other namespaces than Template and Module. TODO would probably want to remove /log and /archive as CS1 do..." current
- 21:1621:16, 1 June 2022 diff hist +6 N Category:Pages with TemplateStyles errors Created page with "{{CH}}" current
- 19:4019:40, 1 June 2022 diff hist 0 Module:Protection banner/config No edit summary current
- 15:5415:54, 1 June 2022 diff hist +17,528 Template:Ambox/doc No edit summary
- 15:5215:52, 1 June 2022 diff hist +15,281 N Module:TableTools Created page with "------------------------------------------------------------------------------------ -- 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
- 15:4915:49, 1 June 2022 diff hist +5,410 N Module:List Created page with "-- This module outputs different kinds of lists. At the moment, bulleted, -- unbulleted, horizontal, ordered, and horizontal ordered lists are supported. local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.makeListData(listType, ar..." current
- 15:4815:48, 1 June 2022 diff hist +196 N Template:Lua Created page with "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" current
- 15:4815:48, 1 June 2022 diff hist +3,904 N Module:Lua banner Created page with "-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') 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)..." current
- 15:4515:45, 1 June 2022 diff hist +9,883 N Template:Tlg/doc Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{#ifeq:{{FULLPAGENAME}}|Template:Template link with subst|{{used in system}}| {{#ifexpr:{{#invoke:Transclusion count|fetch|0}} > 2000|{{high-use}}}}}} {{tsh|{{{1|tlg}}}|{{{2|}}}}} {{lua|Module:Template link general}} This template, often abbreviated as {{tlf|{{#switch:{{lc:{{ROOTPAGENAME}}}} | tlg | template link general = tlg | tlb | template link with bold = tlb | tlc..." current
- 15:4115:41, 1 June 2022 diff hist −417 Template:Ambox No edit summary
- 15:3415:34, 1 June 2022 diff hist −16 Rebranding Homophobia No edit summary current Tag: Manual revert
- 15:3315:33, 1 June 2022 diff hist +16 Rebranding Homophobia No edit summary Tag: Reverted
- 02:2502:25, 1 June 2022 diff hist +171 Template:Tocright No edit summary
- 02:2302:23, 1 June 2022 diff hist +20 Template:Tl No edit summary current
- 02:1802:18, 1 June 2022 diff hist +564 N Template:TOC right/styles.css Created page with "→{{pp-template}}: →The TOC is hidden on Minerva (mobile skin) for width < 720px so must also hide this wrapper: @media all and (max-width: 720px) { body.skin-minerva .tocright { display: none; } .tocright { width: 100% !important; →fix the inline width while at small resolution: } } @media all and (min-width: 720px) { .tocright { float: right; clear: right; width: auto; margin: 0 0 0.5em 1em; } .tocright-clear-left { clear: left; }..." current
- 02:1702:17, 1 June 2022 diff hist −264 Template:Pp-template No edit summary current
- 01:5701:57, 1 June 2022 diff hist +46,228 N Module:Protection banner/config Created page with "-- This module provides configuration data for Module:Protection banner. return { -------------------------------------------------------------------------------- -- -- BANNER DATA -- -------------------------------------------------------------------------------- --[[ -- Banner data consists of six fields: -- * text - the main protection text that appears at the top of protection -- banners. -- * explanation - the text that appear..."
- 01:5501:55, 1 June 2022 diff hist +1,494 N Module:Effective protection expiry Created page with "local p = {} -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'auto..." current
- 01:5401:54, 1 June 2022 diff hist +3,438 N Module:Effective protection level Created page with "local p = {} -- Returns the permission required to perform a given action on a given title. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview' then local leve..." current
- 01:5201:52, 1 June 2022 diff hist +2,544 N Module:File link Created page with "-- This module provides a library for formatting file wikilinks. local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string' then error(string.format( "type error in..." current
- 01:3801:38, 1 June 2022 diff hist +17 N Module:Navbar/doc Created page with "Module:Navbar/doc" current
- 01:2801:28, 1 June 2022 diff hist −1,030 Template:Navbar No edit summary current
- 01:0301:03, 1 June 2022 diff hist +2,183 N Module:Navbox/styles.css Created 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..." current
- 01:0201:02, 1 June 2022 diff hist +2,589 N Template:Flatlist/styles.css Created page with "→* * Style for horizontal lists (separator following item). * @source mediawiki.org/wiki/Snippets/Horizontal_lists * @revision 7 (2015-11-12) * @author [[User:Edokter]]: .wst-flatlist { display: inline-block; } .wst-flatlist dl, .wst-flatlist ol, .wst-flatlist ul { margin: 0; padding: 0; } →Display list items inline: .wst-flatlist dd, .wst-flatlist dt, .wst-flatlist li { display: inline; margin: 0; } →Do not display empty list items: ..."
- 00:5600:56, 1 June 2022 diff hist +2,547 Module:Navbar/styles.css No edit summary Tag: Reverted
- 00:1000:10, 1 June 2022 diff hist +300 Template:Ambox No edit summary Tag: Manual revert
- 00:0500:05, 1 June 2022 diff hist −300 Template:Ambox No edit summary Tag: Reverted
- 00:0400:04, 1 June 2022 diff hist +761 N Module:Category handler/blacklist Created 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..." current
- 00:0300:03, 1 June 2022 diff hist +888 N Module:Category handler/shared Created 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..." current
- 00:0100:01, 1 June 2022 diff hist +5,755 N Module:Category handler/config Created 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. ----------------------------..." current
31 May 2022
- 23:5923:59, 31 May 2022 diff hist +631 N Module:Category handler/data Created 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(..." current
- 23:4923:49, 31 May 2022 diff hist +7,871 N Module:Category handler Created page with "-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace alia..." current