User contributions for NeonWabbit
26 March 2023
- 16:4516:45, 26 March 2023 diff hist +329 N Module:If preview/styles.css Created page with "→{{pp|small=yes}}: .preview-warning { font-style: italic; →@noflip: padding-left: 1.6em; margin-bottom: 0.5em; color: red; } →The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .preview-warning + link + .preview-warning { margin-top: -0.5em; }" current
- 16:4416:44, 26 March 2023 diff hist +47,959 N Module:Date Created page with "-- Date functions for use by other modules. -- I18N and time zones are not supported. local MINUS = '−' -- Unicode U+2212 MINUS SIGN local floor = math.floor local Date, DateDiff, diffmt -- forward declarations local uniq = { 'unique identifier' } local function is_date(t) -- The system used to make a date read-only means there is no unique -- metatable that is conveniently accessible to check. return type(t) == 'table' and t._id == uniq end local function is_..." current
- 16:4416:44, 26 March 2023 diff hist +6,470 N Module:CountryData/summary Created page with "local p = {} p.pages = {Afghanistan='K', Albania='H', Algeria='F', Angola='K', Argentina='B', Armenia='G', Australia='A', Austria='B', Azerbaijan='F', Bahrain='K', Bangladesh='I', Belarus='D', Belgium='B', Bolivia='J', Bosnia_and_Herzegovina='F', Brazil='B', Bulgaria='D', Cameroon='I', Canada='A', Chile='D', China='B', Chinese_Taipei='H', Colombia='D', Costa_Rica='I', Croatia='D', Cuba='G', Cyprus='G', Czech_Republic='B', Czechoslovakia='H', Democratic_Republic_of_the_Co..." current
- 16:4416:44, 26 March 2023 diff hist −309 Template:Infobox video game No edit summary current
- 16:4216:42, 26 March 2023 diff hist +142,113 N Module:WikidataIB Created page with "-- Version: 2021-02-06 -- Module to implement use of a blacklist and whitelist for infobox fields -- Can take a named parameter |qid which is the Wikidata ID for the article -- if not supplied, it will use the Wikidata ID associated with the current page. -- Fields in blacklist are never to be displayed, i.e. module must return nil in all circumstances -- Fields in whitelist return local value if it exists or the Wikidata value otherwise -- The name of the field that thi..." current
- 16:4216:42, 26 March 2023 diff hist +16,312 N Module:Video game wikidata Created page with "local Date = require('Module:Date')._Date local yesno = require('Module:Yesno') local p = {} -- Local variables. local reviewer = nil; local df = "mdy"; local entity = nil; local genRefs = true; local showSystem = true; local showUpdateLink = true; local system = nil; local systemId = nil; local systemFormat = "colon"; local updateLinkStyle = nil; local entities = {}; -- Translation table for converting numeric-IDs to shorthand aliases. local systemAliases = { [10677..." current
- 16:4216:42, 26 March 2023 diff hist +5,992 N Module:Namespace detect Created 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
- 16:4216:42, 26 March 2023 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
- 16:4216:42, 26 March 2023 diff hist +842 N Module:If preview/configuration Created page with "--We perform the actual check for whether this is a preview here since preprocessing is relatively expensive. local frame = mw.getCurrentFrame() local function is_preview() local revision_id = frame:preprocess('{{REVISIONID}}') -- {{REVISIONID}} is usually the empty string when previewed. -- I don't know why we're checking for nil but hey, maybe someday things -- would have broken return revision_id == nil or revision_id == '' end local function templatestyl..." current
- 16:4116:41, 26 March 2023 diff hist +2,330 N Module:CountryData Created page with "local p = {} local mostUsed = mw.loadData('Module:CountryData/summary') local function getcontents(frame,country,params) return frame:expandTemplate({title="Country data "..country;args=params}) end function p.getcachedtable(frame, country, params) country = mostUsed.redirects[country] or country if params and next(params) then return p.gettable(frame, country, params) end -- Uses mw.loadData to cache data for the most-used templates if mostUsed.pages[country] th..." current
- 16:4116:41, 26 March 2023 diff hist +2,334 N Template:Redirect category shell Created page with "__NONEWSECTIONLINK__{{Mbox | name = Redirect category shell | type = move | image = none | style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em; | textstyle = padding-top: 0.9em; padding-bottom: 0.9em; | text = '''This {{Talk other|talk page|page}} is a redirect. <small>The following categories are used to track and monitor this redirect:</small>'''{{#if:{{{h|}}} |:: ''{{{h}}}''..." current
- 16:4116:41, 26 March 2023 diff hist +256 N Template:Infobox video game/styles.css Created page with "→{{pp-template|small=yes}}: .ib-video-game .infobox-label { white-space: nowrap; →to ensure gap between any long/nonwrapped label and subsequent data on same line: padding-right: 0.65em; } .ib-video-game .infobox-above { font-style: italic; }" current
- 16:4116:41, 26 March 2023 diff hist +205 N Template:Edit on Wikidata Created page with "{{#switch: {{{noicon|}}} | no = | false = | #default = <div class="metadata" style="text-align: right;">[[[d:{{#if:{{{qid|}}}|{{{qid}}}|{{#invoke:WikidataIB|pageId}}}}|edit on Wikidata]]]</div> }}" current
- 16:4016:40, 26 March 2023 diff hist −3 Module:Pagetype/config No edit summary current
- 16:4016:40, 26 March 2023 diff hist −38 Module:Pagetype/config No edit summary
- 16:3916:39, 26 March 2023 diff hist +745 N Module:Yesno Created page with "-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val =..." current
- 16:3916:39, 26 March 2023 diff hist +9,499 N Module:Video game reviews/data Created page with "local reviewers = { { "''1Up.com''", '1UP' }, { "''4Players''", '4P' }, { "''ACE''", 'ACE' }, { "''Adventure Gamers''", 'AdvGamers' }, { "''AllGame''", 'Allgame' }, { "''Aktueller Software Markt''", 'ASM' }, { "''Amiga Action''", 'AmAction' }, { "''Amiga Computing''", 'AmComputing' }, { "''Amiga Force''", 'AmForce' }, { "''Amiga Format''", 'AmFormat' }, { "''Amiga Power''", 'AmPower' }, { "''[[Amiga U..." current
- 16:3816:38, 26 March 2023 diff hist +3,847 N Module:Pagetype/config Created page with "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- St..."
- 16:3816:38, 26 March 2023 diff hist +10,244 N Module:InfoboxImage Created page with "-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage images (DjVu) -- size - size to display the image -- maxsize - maximum size for image -- sizedefault - default size to display the image if size param is blank -- alt - alt text for image -- title - title text for image -- border - set to yes if border -- center - set to yes, if th..." current
- 16:3816:38, 26 March 2023 diff hist +1,453 N Module:If preview Created page with "local p = {} local cfg = mw.loadData('Module:If preview/configuration') --main This function returns either the first argument or second argument passed to this module, depending on whether the page is being previewed. function p.main(frame) if cfg.preview then return frame.args[1] or '' else return frame.args[2] or '' end end --[[ pmain This function returns either the first argument or second argument passed to this module's parent (i.e. template usi..." current
- 16:3816:38, 26 March 2023 diff hist +10,054 N Module:Arguments Created page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..." current
- 16:3816:38, 26 March 2023 diff hist +33 N Template:If first display both Created page with "{{#if:{{{1|}}}|{{{1|}}}{{{2|}}}}}" current
- 16:3716:37, 26 March 2023 diff hist +86 N Template:EditOnWikidata Redirected page to Template:Edit on Wikidata current Tag: New redirect
- 16:3716:37, 26 March 2023 diff hist +12,245 N Module:Video game reviews Created page with "require('strict') local p = {} local data = require('Module:Video game reviews/data') local yesno = require('Module:Yesno') local vgwd = require('Module:Video game wikidata') local getArgs local function getActiveSystems(args) local activeSystems = {} for k, v in pairs(args) do if data.systems[k] and yesno(v) then table.insert(activeSystems, k) end end table.sort(activeSystems, function(a, b) return data.systems[a].sortkey < data.systems[b].sortkey end)..." current
- 16:3616:36, 26 March 2023 diff hist +4,041 N Module:Video game release Created page with "require('strict') local getArgs = require('Module:Arguments').getArgs local cd = require('Module:CountryData') local list = require('Module:List'); local p = {} local knownargs = { ['format'] = true, ['class'] = true, ['style'] = true, ['list_style'] = true, ['item_style'] = true, ['item1_style'] = true, ['indent'] = true } local labels = { ['NA'] = "NA", ['EU'] = "EU", ['EUR'] = "EU", ['AU'] = "AU",..." current
- 16:3616:36, 26 March 2023 diff hist +18,033 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
- 16:3616:36, 26 March 2023 diff hist +1,851 N Module:SDcat Created page with "--SDcat Module to check whether local short description matches that on Wikidata -- local p = {} ------------------------------------------------------------------------------- --[[ setCat has the qid of a Wikidata entity passed as |qid= (it defaults to the associated qid of the current article if omitted) and the local short description passed as |sd= It returns a category if there is an associated Wikidata entity. It returns one of the following tracking categor..." current
- 16:3616:36, 26 March 2023 diff hist +6,765 N Module:Pagetype Created page with "-------------------------------------------------------------------------------- -- -- -- PAGETYPE -- -- -- -- This is a meta-module intended to replace {{pagetype}} and similar -- -- templates. It automatically detects namespaces, and allows for..." current
- 16:3616:36, 26 March 2023 diff hist +8,913 N Module:Italic title Created page with "-- This module implements {{italic title}}. require('strict') local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local yesno = require('Module:Yesno') -------------------------------------------------------------------------------- -- ItalicTitle class -------------------------------------------------------------------------------- local ItalicTitle = {} do ----------------..." current
- 16:3516:35, 26 March 2023 diff hist +20,533 N Module:Infobox Created page with "local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]' local has_rows = false local lists = { plainlist_t = { patterns = { '^plainlist$', '%splainlist$', '^plainlist%s', '%splainlist%s' }, found = false, styles = 'Plainlist/styles.css' }, hlist_t = { patterns = { '^hlist$', '%shlist$', '^hlist%s', '%shlist%s'..." current
- 16:3516:35, 26 March 2023 diff hist +3,312 N Module:Check for unknown parameters Created page with "-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end local function clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing the original wikitext..." current
- 16:3416:34, 26 March 2023 diff hist +35 N Template:Video game release Created page with "{{#invoke:Video game release|main}}" current
- 16:3416:34, 26 March 2023 diff hist +785 N Template:Short description/lowercasecheck Created 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
- 16:3316:33, 26 March 2023 diff hist +52 N Template:SDcat Created page with "<includeonly>{{#invoke:SDcat |setCat}}</includeonly>" current
- 16:3316:33, 26 March 2023 diff hist +62 N Template:Pagetype Created page with "{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}" current
- 16:3316:33, 26 March 2023 diff hist +97 N Template:If both Created page with "{{{{{|safesubst:}}}#if:{{{1|}}}| {{{{{|safesubst:}}}#if:{{{2|}}}|{{{3|}}}|{{{4|}}}}} |{{{4|}}} }}" current
- 16:3216:32, 26 March 2023 diff hist +1,306 N Template:Short description Created 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>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 11..." current
- 16:3216:32, 26 March 2023 diff hist +56 N Template:Italic title Created page with "<includeonly>{{#invoke:Italic title|main}}</includeonly>" current
- 16:3116:31, 26 March 2023 diff hist +296 N Template:Main other Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | other }} }} | main = {{{1|}}} | other | #default = {{{2|}}} }}" current
- 16:3116:31, 26 March 2023 diff hist +41 N Template:Video game reviews Created page with "{{#invoke:Video game reviews|reviewbox }}" current
- 16:3016:30, 26 March 2023 diff hist +9,415 N Template:Infobox video game Created page with "{{main other|{{short description|2=noreplace|{{if both|{{{released|{{{release|}}}}}}|{{#invoke:String|match|{{{released|{{{release|}}}}}}|[12]%d%d%d|match=1|nomatch=}}|{{#invoke:String|match|{{{released|{{{release|}}}}}}|[12]%d%d%d|match=1|nomatch=}} video game|Video game}}}}}}{{#invoke:infobox|infoboxTemplate <!-- Start and styling --> | child = {{{child|}}} | subbox = {{{subbox|}}} | bodyclass = ib-video-game hproduct {{#ifeq:{{{collapsible|}}}|ye..."
- 14:5814:58, 26 March 2023 diff hist +6 Main Page No edit summary
- 14:5714:57, 26 March 2023 diff hist 0 WikipediNyah:Main Page/styles.css NeonWabbit changed the content model of the page WikipediNyah:Main Page/styles.css from "wikitext" to "Sanitized CSS": templatestyles requirement Tag: content model change
- 14:5014:50, 26 March 2023 diff hist +2,169 N WikipediNyah:Main Page/styles.css Created page with "→{{pp|small=yes}}: .mp-box { border: 1px solid #aaa; →all border colors overriden on specific elements: padding: 0 0.5em 0.5em; margin-top: 4px; } .mp-h2, body.skin-timeless .mp-h2 { →Timeless needs a higher specificity: border: 1px solid #aaa; →all border colors overriden on specific elements: margin: 0.5em 0; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; } .mp-later { font-size: 85%; font-weight: normal; }..."
- 14:3314:33, 26 March 2023 diff hist +1,138 N MediaWiki:Vector.css Created page with "→Don't display some stuff on the main page: .page-Main_Page #deleteconfirm, .page-Main_Page #t-cite, .page-Main_Page #footer-info-lastmod, .action-view.page-Main_Page #siteSub, .action-view.page-Main_Page #contentSub, .action-view.page-Main_Page #contentSub2 { display: none !important; } →Position coordinates: #coordinates { position: absolute; top: 0; right: 0; float: right; margin: 0; padding: 0; line-height: 1.5em; text-align: right; text-indent: 0;..."
- 14:3314:33, 26 March 2023 diff hist +7,081 N MediaWiki:Common.js Created page with "/** * Keep code in MediaWiki:Common.js to a minimum as it is unconditionally * loaded for all users on every wiki page. If possible create a gadget that is * enabled by default instead of adding it here (since gadgets are fully * optimized ResourceLoader modules with possibility to add dependencies etc.) * * Since Common.js isn't a gadget, there is no place to declare its * dependencies, so we have to lazy load them with mw.loader.using on demand and * then execu..."
- 14:3114:31, 26 March 2023 diff hist +10,971 N MediaWiki:Common.css Created page with "→* This is the CSS common to all desktop skins on WikipediNyah * Styling inside .mw-parser-output should generally use TemplateStyles.: →Reset italic styling set by user agent: cite, dfn { font-style: inherit; } →Straight quote marks for <q>: q { quotes: '"' '"' "'" "'"; } →Avoid collision of blockquote with floating elements by swapping margin and padding: blockquote { overflow: hidden; margin: 1em 0; padding: 0 40px; } /* Consistent size for..."
- 14:2914:29, 26 March 2023 diff hist −5 Main Page No edit summary Tag: Visual edit
- 14:2714:27, 26 March 2023 diff hist +1,465 Main Page No edit summary Tag: Visual edit: Switched
- 14:2114:21, 26 March 2023 diff hist +406 N Template:Main Page banner Created page with "<!-- Please note - this template is shown on the Main Page, and any changes or screw-ups you make will appear there immediately. Make changes very carefully, and always use the Show Preview button to make sure your changes turn out properly. To make this template appear on the Main Page, add *plaintext* (with wikimarkup etc) after this comment. Formatting is added in the Main Page code itself. -->" current