User contributions for OIMGov
Jump to navigation
Jump to search
1 February 2023
- 22:4822:48, 1 February 2023 diff hist −41 Main Page No edit summary
27 August 2022
- 21:3921:39, 27 August 2022 diff hist +1,491 N Template:Infobox country/imagetable sorry for interfering, just fixing your infoboxes (used microwiki ones as source) current
- 21:3821:38, 27 August 2022 diff hist +1,018 N Module:If empty Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) -- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, -- even though there's really no legitimate use case for this. At some point, this will be removed. local lowestNil = math.huge for i = 8,1,-1 do if args[i] == nil then args[i] = '' lowestNil = i end end for..." current
- 21:3721:37, 27 August 2022 diff hist +102 N Template:If empty Created page with "{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>" current
- 21:3621:36, 27 August 2022 diff hist +340 N Template:Infobox/wp Created page with "{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|{{remove first word|{{SUBPAGENAME}}}}}}}}|}}</includeonly><noinclude> {{documentation}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude>" current
- 21:3621:36, 27 August 2022 diff hist +43,510 N Template:Infobox country Created page with "{{infobox/wp | bodyclass = geography vcard | bodystyle = font-size:88%; | headerstyle= text-align:left; | aboveclass = adr | abovestyle = text-align:center;padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em; | above = {{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} | {{#if:{{{conventional_long_name|}}} |<div class="fn org country-name">{{{conventional_long_name|}}}</div> }}{{#if:{{{native_name|}}}{{{name|}}}..." current
- 21:3521:35, 27 August 2022 diff hist +168 N Template:Longitem Created page with "<div style="padding:0.1em 0;line-height:1.2em;{{{style|{{#if:{{{2|}}}|{{{1}}}}}}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</div> <noinclude>Category:Templates</noinclude>" current
- 21:3421:34, 27 August 2022 diff hist +17,433 N Module:Documentation/config Created page with "---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------..." current
- 21:3421:34, 27 August 2022 diff hist +9,657 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
- 21:3321:33, 27 August 2022 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
- 21:3221:32, 27 August 2022 diff hist +2,400 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 trim(s) ~= '' end function p.check (frame) local args = frame.args local pargs = frame:getParent().args local ignoreblank = isnotempty(frame.args['ignoreblank']) local showblankpos = is..." current
- 21:3121:31, 27 August 2022 diff hist +35,027 N Module:Documentation Created page with "-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p -- table for testing purpos..." current
- 21:3121:31, 27 August 2022 diff hist +182 N Template:Documentation Created page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 21:3021:30, 27 August 2022 diff hist +435 N Template:Template 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:Template}} | template | other }} }} | template = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" current
- 21:3021:30, 27 August 2022 diff hist +867 N Module:Navbar/configuration Created page with "return { ['templatestyles'] = 'Module:Navbar/styles.css', ['box_text'] = 'This box: ', -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'hlist', -- horizontal list class ['mini'] = 'navbar-mini', -- class ind..." current
- 21:2921:29, 27 August 2022 diff hist +5,088 N Module:Navbar Created page with "local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg end local function choose_links(template, args) -- The show table indicates the default displayed items. -- view, talk, edit, hist, move, watch -- TODO: Move to configuration. local show = {true, true, true, false, false..." current
- 21:2821:28, 27 August 2022 diff hist +15,874 N Module:Infobox Created page with "-- -- This module implements {{Infobox}} -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker) if s..." current
- 21:2821:28, 27 August 2022 diff hist +340 N Template:Infobox Created page with "{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|{{remove first word|{{SUBPAGENAME}}}}}}}}|}}</includeonly><noinclude> {{documentation}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude>" current
- 21:2721:27, 27 August 2022 diff hist +422 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|}}} }}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>" current
- 21:2221:22, 27 August 2022 diff hist +11,834 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..." current
- 21:2021:20, 27 August 2022 diff hist +31,920 N MediaWiki:Common.css Created page with "→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; } →Prevent the 'double bold' bug in Firefox when using DirectWrite: →https://bugzilla.mozilla.org/show_bug.cgi?id=550128: strong.selflink { font-weight: 700; }..." current