User contributions for Halian
Jump to navigation
Jump to search
4 December 2023
- 22:4522:45, 4 December 2023 diff hist +218 N Template:Plainlist/styles.css Created page with "→{{pp-template|small=yes}}: .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; padding: 0; →Reset Minerva default: } .plainlist ol li, .plainlist ul li { margin-bottom: 0; }"
- 22:4522:45, 4 December 2023 diff hist +1,092 N Module:Exponential search Created page with "-- This module provides a generic exponential search algorithm. requirestrict local checkType = require('libraryUtil').checkType local floor = math.floor local function midPoint(lower, upper) return floor(lower + (upper - lower) / 2) end local function search(testFunc, i, lower, upper) if testFunc(i) then if i + 1 == upper then return i end lower = i if upper then i = midPoint(lower, upper) else i = i * 2 end return search(testFunc, i, low..." current
- 22:4422:44, 4 December 2023 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
- 22:4322:43, 4 December 2023 diff hist +5,565 N Module:List Created page with "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, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and TemplateStyles data.classes = {} data.templatestyles = ''..." current
- 22:4122:41, 4 December 2023 diff hist +181 N Template:Horizontal list Created page with "{{<includeonly>safesubst:</includeonly>#invoke:list|horizontal}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
- 22:3222:32, 4 December 2023 diff hist +26,018 N Module:Protection banner Created page with "-- This module implements {{pp-meta}} and its daughter templates such as -- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}. -- Initialise necessary modules. require('strict') local makeFileLink = require('Module:File link')._main local effectiveProtectionLevel = require('Module:Effective protection level')._main local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main local yesno = require('Module:Yesno') -- Lazily initialise modules and..." current
- 22:3122:31, 4 December 2023 diff hist +46,218 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..." current
- 22:3122:31, 4 December 2023 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
- 22:3122:31, 4 December 2023 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
- 22:3122:31, 4 December 2023 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
- 22:3122:31, 4 December 2023 diff hist +3,830 N Module:Submit an edit request Created page with "-- This module implements {{Submit an edit request}}. local CONFIG_MODULE = 'Module:Submit an edit request/config' -- Load necessary modules local mRedirect = require('Module:Redirect') local cfg = mw.loadData(CONFIG_MODULE) local effectiveProtectionLevel = require('Module:Effective protection level')._main local escape = require("Module:String")._escapePattern local lang = mw.language.getContentLanguage() local p = {} local validLevels = { semi = 'semi', extended..." current
- 22:3122:31, 4 December 2023 diff hist +3,295 N Module:Redirect Created page with "-- This module provides functions for getting the target of a redirect page. local p = {} -- Gets a mw.title object, using pcall to avoid generating script errors if we -- are over the expensive function count limit (among other possible causes). local function getTitle(...) local success, titleObj = pcall(mw.title.new, ...) if success then return titleObj else return nil end end -- Gets the name of a page that a redirect leads to, or nil if it isn't a -- redi..." current
- 22:3122:31, 4 December 2023 diff hist +18,034 N Module:String Created page with "--[[ This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such whitespace. Global options ignore_errors: If set to 'true' or 1, any error c..." current
- 22:3122:31, 4 December 2023 diff hist +4,575 N Module:Clickable button 2 Created page with "-- This module implements {{clickable button 2}}. local yesno = require('Module:Yesno') local p = {} local function renderTrackingCategories(args) if yesno(args.category) == false then return '' end -- we have no tracking categories currently but args.category should be -- supported into the future, so just return a string here for now return '' end local function makeLinkData(args) local data = {} -- Get the link and display values, -- and find whether..." current
- 22:2922:29, 4 December 2023 diff hist 0 m Module:Message box/tmbox.css Halian moved page Module:Module:Message box/tmbox.css to Module:Message box/tmbox.css without leaving a redirect
- 22:2922:29, 4 December 2023 diff hist 0 m Module:Message box/ombox.css Halian moved page Module:Module:Message box/ombox.css to Module:Message box/ombox.css without leaving a redirect
- 22:2922:29, 4 December 2023 diff hist 0 m Module:Message box/imbox.css Halian moved page Module:Module:Message box/imbox.css to Module:Message box/imbox.css without leaving a redirect
- 22:2822:28, 4 December 2023 diff hist 0 m Module:Message box/fmbox.css Halian moved page Module:Module:Message box/fmbox.css to Module:Message box/fmbox.css without leaving a redirect
- 22:2822:28, 4 December 2023 diff hist 0 m Module:Message box/cmbox.css Halian moved page Module:Module:Message box/cmbox.css to Module:Message box/cmbox.css without leaving a redirect
- 22:2822:28, 4 December 2023 diff hist 0 m Module:Message box/ambox.css Halian moved page Module:Module:Message box/ambox.css to Module:Message box/ambox.css without leaving a redirect
- 22:2622:26, 4 December 2023 diff hist +1,308 N Module:Message box/tmbox.css Created page with "→{{pp|small=y}}: .tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090; →Default "notice" gray-brown: background-color: #f8eaba; box-sizing: border-box; } →For the "small=yes" option.: .tmbox.mbox-small { font-size: 88%; line-height: 1.25em; } .tmbox-speedy { border: 2px solid #b32424; →Red: background-color: #fee7e6; →Pink: } .tmbox-delete { border: 2px solid #b32424; →Red: } .tmbox-content { bord..."
- 22:2622:26, 4 December 2023 diff hist +1,361 N Module:Message box/ombox.css Created page with "→{{pp|small=y}}: .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; →Default "notice" gray: background-color: #f8f9fa; box-sizing: border-box; } →For the "small=yes" option.: .ombox.mbox-small { font-size: 88%; line-height: 1.25em; } .ombox-speedy { border: 2px solid #b32424; →Red: background-color: #fee7e6; →Pink: } .ombox-delete { border: 2px solid #b32424; →Red: } .ombox-content { border: 1p..."
- 22:2522:25, 4 December 2023 diff hist +1,514 N Module:Message box/imbox.css Created page with "→{{pp|small=y}}: .imbox { margin: 4px 0; border-collapse: collapse; border: 3px solid #36c; →Default "notice" blue: background-color: #fbfbfb; box-sizing: border-box; } →For imboxes inside imbox-text cells.: .imbox .mbox-text .imbox { margin: 0 -0.5em; →0.9 - 0.5 = 0.4em left/right.: →TODO: Still needed?: display: block; →Fix for webkit to force 100% width.: } .imbox-speedy { border: 3px solid #b32424; →Red: background-color..."
- 22:2522:25, 4 December 2023 diff hist +702 N Module:Message box/fmbox.css Created page with "→{{pp|small=y}}: .fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background-color: #f8f9fa; →Default "system" gray: box-sizing: border-box; } .fmbox-warning { border: 1px solid #bb7070; →Dark pink: background-color: #ffdbdb; →Pink: } .fmbox-editnotice { background-color: transparent; } .fmbox .mbox-text { border: none; →@noflip: padding: 0.25em 0.9em; width: 100%; } .fmbox .mbox-image { border: no..."
- 22:2322:23, 4 December 2023 diff hist +1,119 N Module:Message box/cmbox.css Created page with "→{{pp|small=y}}: .cmbox { margin: 3px 0; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #dfe8ff; →Default "notice" blue: box-sizing: border-box; } .cmbox-speedy { border: 4px solid #b32424; →Red: background-color: #ffdbdb; →Pink: } .cmbox-delete { background-color: #ffdbdb; →Pink: } .cmbox-content { background-color: #ffe7ce; →Orange: } .cmbox-style { background-color: #fff9db; →Yellow: ..."
- 22:2322:23, 4 December 2023 diff hist +2,230 N Module:Message box/ambox.css Created 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..."
- 22:2222:22, 4 December 2023 diff hist +803 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. '^OS-Tan Collections Wiki:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]',..." current
- 22:2222:22, 4 December 2023 diff hist +3,545 N Module:Namespace detect/config Created 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
- 22:2122:21, 4 December 2023 diff hist +2,569 N Module:Namespace detect/data Created 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
- 22:2122:21, 4 December 2023 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
- 22:2122:21, 4 December 2023 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
- 22:2022:20, 4 December 2023 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
- 22:1922:19, 4 December 2023 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
- 22:1922:19, 4 December 2023 diff hist +6,555 N Module:Message box/configuration Created page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..." current
- 22:1822:18, 4 December 2023 diff hist +18,677 N Module:Message box Created page with "require('strict') 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 ---------------------------------------------------------------------------..." current
- 22:1822:18, 4 December 2023 diff hist +153 N Template:Mbox Created page with "{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>"
- 22:1322:13, 4 December 2023 diff hist +6,119 N Module:Color contrast/colors Created page with "return { aliceblue = 0.92880068253475, antiquewhite = 0.84646951707754, aqua = 0.7874, aquamarine = 0.8078549208338, azure = 0.97265264954166, beige = 0.8988459998705, bisque = 0.80732327372979, black = 0, blanchedalmond = 0.85084439608156, blue = 0.0722, blueviolet = 0.12622014321946, brown = 0.098224287876511..." current
- 22:1322:13, 4 December 2023 diff hist +6,971 N Module:Color contrast Created page with "-- -- This module implements -- {{Color contrast ratio}} -- {{Greater color contrast ratio}} -- {{ColorToLum}} -- {{RGBColorToLum}} -- local p = {} local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' ) local function sRGB (v) if (v <= 0.03928) then v = v / 12.92 else v = math.pow((v+0.055)/1.055, 2.4) end return v end local function rgbdec2lum(R, G, B) if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then return 0.2126 *..." current
29 November 2023
- 12:4112:41, 29 November 2023 diff hist +17 Category:Windows 2000 add navbox current
- 12:4112:41, 29 November 2023 diff hist +30 Template:Windows-tans No edit summary
- 12:1612:16, 29 November 2023 diff hist +2,655 N User:Halian/sandbox Created page with "{{Navbox |name = Anarchism |state = <includeonly>collapsed</includeonly> |bodyclass = hlist |title = Anarchism |group1 = Concepts |list1 = {{excerpt|Template:Anarchism sidebar|Theory|hat=no}} |group2 = Issues |list2 = {{excerpt|Template:Anarchism sidebar|Issues|hat=no}} |group3 = Schools of thought |list3 = {{Navbox|subgroup |group1 = Classical |list1 = * Individualist anarchism|Indivi..."
28 November 2023
- 03:3103:31, 28 November 2023 diff hist +25,284 N User:Halian/monobook.css Created page with "/* ATTENTION ADMINISTRATORS: This is the CSS for all skins. Testing can be done on your own user Monobook.css. In Mozilla and Opera, you can also test style changes dynamically with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles] bookmarklet from squarefree.com. It pops up a window for adding style rules, and updates the page as you type. Always check with the [http://tinyurl.com/28y33..." current
- 03:2703:27, 28 November 2023 diff hist +1,041 N Template:Navbar Created page with "<span class="noprint plainlinks navbar" style="{{{style|}}}"><!-- -->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else: --><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!-- -->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">[</span>}}<!-- --><span style="white-space:nowrap;word-spacing:-.12em;"><!-- -->[[{{ns:10}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="View this template"><!-- -->{{#if:{{{mini|}}}|v|view}}</span>]]<!-- --><span sty..."
- 03:2603:26, 28 November 2023 diff hist 0 User:Halian No edit summary
- 03:2503:25, 28 November 2023 diff hist +15,598 N Template:Navbox Created page with "{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/> {{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}" {{!}}- {{!}} style="padding:2px;" {{!}} }} {{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}..."
10 November 2023
- 16:4516:45, 10 November 2023 diff hist +13 MediaWiki:Revdelete-reason-dropdown added vandalism current
- 05:5705:57, 10 November 2023 diff hist +1,705 m Mainframe-tans Reverted edits by Mhkjyk (talk) to last revision by Fedora-Tan Tag: Rollback
- 05:5705:57, 10 November 2023 diff hist +833 m App-tans Reverted edits by Mhkjyk (talk) to last revision by Fedora-Tan current Tag: Rollback
- 05:5705:57, 10 November 2023 diff hist +11,433 m View All Reverted edits by Mhkjyk (talk) to last revision by Halian current Tag: Rollback
- 05:5705:57, 10 November 2023 diff hist +564 m Site-tans Reverted edits by Mhkjyk (talk) to last revision by Fedora-Tan current Tag: Rollback