User contributions for Halian

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

4 May 2024

26 February 2024

21 December 2023

20 December 2023

10 December 2023

5 December 2023

4 December 2023

  • 23:5823:58, 4 December 2023 diff hist +3,877 N Module:LockboxCreated page with "local export = {} -- XXX: OUTRAGEOUS ABUSE OF SCRIBUNTO API -- Generates a transclusion without incrementing the "expensive function" count local generate_transclusion do local mock_title = mw.title.new(mw.title.getCurrentTitle().id) local getContent = mock_title.getContent function generate_transclusion(title) local full_text = type(title) == 'table' and title.fullText or title rawset(mock_title, 'fullText', full_text) getContent(mock_title) end end local f..." current
  • 23:5723:57, 4 December 2023 diff hist +3,189 N OS-Tan Collections Wiki:Cascade-protected itemsCreated page with "{{mbox |type=protection |image=40px |text='''This page transcludes OS-Tan Collections Wiki:Cascade-protected items/content''', a page fully protected with the cascading option enabled. Items transcluded on that page are highly important templates or pages that require full protection to guard against vandalism. Most of them are also directly full-protected, but this page serves as a safeguard against security leaks and human er..."
  • 23:5523:55, 4 December 2023 diff hist +69 N OSC:CPI/CRedirected page to OS-Tan Collections Wiki:Cascade-protected items/content current Tag: New redirect
  • 23:5423:54, 4 December 2023 diff hist +673 N Module:Shortcut/styles.cssCreated page with "→‎{{pp-template}}: .module-shortcutboxplain { float: right; margin: 0 0 0 1em; border: 1px solid #aaa; background: #fff; padding: 0.3em 0.6em 0.2em 0.6em; text-align: center; font-size: 85%; } .module-shortcutboxleft { float: left; margin: 0 1em 0 0; } .module-shortcutlist { display: inline-block; border-bottom: 1px solid #aaa; margin-bottom: 0.2em; } .module-shortcutboxplain ul { font-weight: bold; } .module-shortcutanchordiv { position: relative;..."
  • 23:5323:53, 4 December 2023 diff hist +1,240 N Module:Shortcut/configCreated page with "-- This module holds configuration data for Module:Shortcut. return { -- The heading at the top of the shortcut box. It accepts the following parameter: -- $1 - the total number of shortcuts. (required) ['shortcut-heading'] = '{{PLURAL:Wikipedia:Shortcut|{{PLURAL:$1|Shortcut|Shortcuts}}|Shortcut|Shortcuts}}', -- The heading when |redirect=yes is given. It accepts the following parameter: -- $1 - the total number of shortcuts. (required) ['redirect-heading'] = '[[Wikipedia:Redirect|{{PLURAL..." current
  • 23:5223:52, 4 December 2023 diff hist +4,336 N Module:ShortcutCreated 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..."
  • 23:5223:52, 4 December 2023 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>"
  • 23:4723:47, 4 December 2023 diff hist +61 N OSC:CPIRedirected page to OS-Tan Collections Wiki:Cascade-protected items current Tag: New redirect
  • 23:4523:45, 4 December 2023 diff hist +280 N Template:PlainlistCreated page with "<templatestyles src="Plainlist/styles.css"/><div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> {{documentation}} </noinclude>"
  • 23:4523:45, 4 December 2023 diff hist +218 N Template:Plainlist/styles.cssCreated 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; }"
  • 23:4523:45, 4 December 2023 diff hist +1,092 N Module:Exponential searchCreated 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
  • 23:4423:44, 4 December 2023 diff hist +15,281 N Module:TableToolsCreated 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
  • 23:4323:43, 4 December 2023 diff hist +5,565 N Module:ListCreated 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
  • 23:4123:41, 4 December 2023 diff hist +181 N Template:Horizontal listCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:list|horizontal}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
  • 23:3223:32, 4 December 2023 diff hist +26,018 N Module:Protection bannerCreated 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
  • 23:3123:31, 4 December 2023 diff hist +46,218 N Module:Protection banner/configCreated 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
  • 23:3123:31, 4 December 2023 diff hist +2,544 N Module:File linkCreated 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
  • 23:3123:31, 4 December 2023 diff hist +3,438 N Module:Effective protection levelCreated 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
  • 23:3123:31, 4 December 2023 diff hist +1,494 N Module:Effective protection expiryCreated 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
  • 23:3123:31, 4 December 2023 diff hist +3,830 N Module:Submit an edit requestCreated 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
  • 23:3123:31, 4 December 2023 diff hist +3,295 N Module:RedirectCreated 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
  • 23:3123:31, 4 December 2023 diff hist +18,034 N Module:StringCreated 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
  • 23:3123:31, 4 December 2023 diff hist +4,575 N Module:Clickable button 2Created 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
  • 23:2923:29, 4 December 2023 diff hist 0 m Module:Message box/tmbox.cssHalian moved page Module:Module:Message box/tmbox.css to Module:Message box/tmbox.css without leaving a redirect
  • 23:2923:29, 4 December 2023 diff hist 0 m Module:Message box/ombox.cssHalian moved page Module:Module:Message box/ombox.css to Module:Message box/ombox.css without leaving a redirect
  • 23:2923:29, 4 December 2023 diff hist 0 m Module:Message box/imbox.cssHalian moved page Module:Module:Message box/imbox.css to Module:Message box/imbox.css without leaving a redirect
  • 23:2823:28, 4 December 2023 diff hist 0 m Module:Message box/fmbox.cssHalian moved page Module:Module:Message box/fmbox.css to Module:Message box/fmbox.css without leaving a redirect
  • 23:2823:28, 4 December 2023 diff hist 0 m Module:Message box/cmbox.cssHalian moved page Module:Module:Message box/cmbox.css to Module:Message box/cmbox.css without leaving a redirect
  • 23:2823:28, 4 December 2023 diff hist 0 m Module:Message box/ambox.cssHalian moved page Module:Module:Message box/ambox.css to Module:Message box/ambox.css without leaving a redirect
  • 23:2623:26, 4 December 2023 diff hist +1,308 N Module:Message box/tmbox.cssCreated 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..."
  • 23:2623:26, 4 December 2023 diff hist +1,361 N Module:Message box/ombox.cssCreated 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..."
  • 23:2523:25, 4 December 2023 diff hist +1,514 N Module:Message box/imbox.cssCreated 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..."
  • 23:2523:25, 4 December 2023 diff hist +702 N Module:Message box/fmbox.cssCreated 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..."
  • 23:2323:23, 4 December 2023 diff hist +1,119 N Module:Message box/cmbox.cssCreated 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: ..."
  • 23:2323:23, 4 December 2023 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..."
  • 23:2223:22, 4 December 2023 diff hist +803 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. '^OS-Tan Collections Wiki:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]',..." current
  • 23:2223:22, 4 December 2023 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
  • 23:2123:21, 4 December 2023 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
  • 23:2123:21, 4 December 2023 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..." current
  • 23:2123:21, 4 December 2023 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. ----------------------------..." current
  • 23:2023:20, 4 December 2023 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(..." current
  • 23:1923:19, 4 December 2023 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..." current
  • 23:1923:19, 4 December 2023 diff hist +6,555 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
  • 23:1823:18, 4 December 2023 diff hist +18,677 N Module:Message boxCreated 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
  • 23:1823:18, 4 December 2023 diff hist +153 N Template:MboxCreated page with "{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>"
  • 23:1323:13, 4 December 2023 diff hist +6,119 N Module:Color contrast/colorsCreated 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
  • 23:1323:13, 4 December 2023 diff hist +6,971 N Module:Color contrastCreated 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

28 November 2023

  • 04:3104:31, 28 November 2023 diff hist +25,284 N User:Halian/monobook.cssCreated 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
  • 04:2704:27, 28 November 2023 diff hist +1,041 N Template:NavbarCreated 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..."
  • 04:2604:26, 28 November 2023 diff hist 0 User:HalianNo edit summary current
  • 04:2504:25, 28 November 2023 diff hist +15,598 N Template:NavboxCreated 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

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