User contributions for Enadmin

A user with 84 edits. Account created on 2 January 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

19 October 2025

17 October 2025

21 April 2025

  • 07:2007:20, 21 April 2025 diff hist +12,136 N Module:Lang/configuration Created page with "--[[--------------------------< T E M P L A T E S _ T >-------------------------------------------------------- ]] local templates_t = { lang = 'Lang', langx = 'Langx', langxx = 'Lang-xx', transliteration = 'Transliteration', } --[[--------------------------< K N O W N _ P A R A M S >------------------------------------------------------ lists of all parameters known to {{lang}}, {{langx}}, {{lang-xx}} templates. Exception: |fn= is known to {{lang}} but is not..." current
  • 07:1907:19, 21 April 2025 diff hist +3,163 N Module:Lang/ISO 639 synonyms Created page with "-- File-Date: 2013-01-11 return { ["aar"] = "aa", ["abk"] = "ab", ["afr"] = "af", ["aka"] = "ak", ["amh"] = "am", ["ara"] = "ar", ["arg"] = "an", ["asm"] = "as", ["ava"] = "av", ["ave"] = "ae", ["aym"] = "ay", ["aze"] = "az", ["bak"] = "ba", ["bam"] = "bm", ["bel"] = "be", ["ben"] = "bn", ["bih"] = "bh", ["bis"] = "bi", ["bod"] = "bo", ["bos"] = "bs", ["bre"] = "br", ["bul"] = "bg", ["cat"] = "ca", ["ces"] = "cs", ["cha"] = "ch", ["che"] = "ce",..." current
  • 07:1807:18, 21 April 2025 diff hist +1,281 N Module:Lang/data/iana suppressed scripts Created page with "-- File-Date: 2025-03-10 return { ["Arab"] = {"ar", "fa", "ps", "ur"}, ["Armn"] = {"hy"}, ["Beng"] = {"as", "bn"}, ["Blis"] = {"zbl"}, ["Cyrl"] = {"ab", "be", "bg", "kk", "mk", "ru", "uk"}, ["Deva"] = {"hi", "mr", "ne", "kok", "mai"}, ["Ethi"] = {"am", "ti"}, ["Geor"] = {"ka"}, ["Grek"] = {"el"}, ["Gujr"] = {"gu"}, ["Guru"] = {"pa"}, ["Hebr"] = {"he", "iw", "yi"}, ["Jpan"] = {"ja"}, ["Khmr"] = {"km"}, ["Knda"] = {"kn"}, ["Kore"] = {"ko"}, ["Laoo"] = {"lo..." current
  • 07:1707:17, 21 April 2025 diff hist +14,015 N Module:Lang/data/iana variants Created page with "-- File-Date: 2025-03-10 return { ["1606nict"] = { ["descriptions"] = {"Late Middle French (to 1606)"}, ["prefixes"] = {"frm"}, }, ["1694acad"] = { ["descriptions"] = {"Early Modern French"}, ["prefixes"] = {"fr"}, }, ["1901"] = { ["descriptions"] = {"Traditional German orthography"}, ["prefixes"] = {"de"}, }, ["1959acad"] = { ["descriptions"] = {"\"Academic\" (\"governmental\") variant of Belarusian as codified in 1959"}, ["prefixes"] = {"be"},..." current
  • 07:1607:16, 21 April 2025 diff hist +8,031 N Module:Lang/data/iana regions Created page with "-- File-Date: 2025-03-10 return { ["AC"] = {"Ascension Island"}, ["AD"] = {"Andorra"}, ["AE"] = {"United Arab Emirates"}, ["AF"] = {"Afghanistan"}, ["AG"] = {"Antigua and Barbuda"}, ["AI"] = {"Anguilla"}, ["AL"] = {"Albania"}, ["AM"] = {"Armenia"}, ["AO"] = {"Angola"}, ["AQ"] = {"Antarctica"}, ["AR"] = {"Argentina"}, ["AS"] = {"American Samoa"}, ["AT"] = {"Austria"}, ["AU"] = {"Australia"}, ["AW"] = {"Aruba"}, ["AX"] = {"Åland Islands"}, ["AZ"] = {"Azer..." current
  • 07:1507:15, 21 April 2025 diff hist +7,398 N Module:Lang/data/iana scripts Created page with "-- File-Date: 2025-03-10 return { ["Adlm"] = {"Adlam"}, ["Afak"] = {"Afaka"}, ["Aghb"] = {"Caucasian Albanian"}, ["Ahom"] = {"Ahom", "Tai Ahom"}, ["Arab"] = {"Arabic"}, ["Aran"] = {"Arabic (Nastaliq variant)"}, ["Armi"] = {"Imperial Aramaic"}, ["Armn"] = {"Armenian"}, ["Avst"] = {"Avestan"}, ["Bali"] = {"Balinese"}, ["Bamu"] = {"Bamum"}, ["Bass"] = {"Bassa Vah"}, ["Batk"] = {"Batak"}, ["Beng"] = {"Bengali", "Bangla"}, ["Berf"] = {"Beria Erfe"}, ["Bhks"] =..." current
  • 07:1307:13, 21 April 2025 diff hist +222,517 N Module:Lang/data/iana languages Created page with "-- File-Date: 2025-03-10 local active = { ["aa"] = {"Afar"}, ["ab"] = {"Abkhazian"}, ["ae"] = {"Avestan"}, ["af"] = {"Afrikaans"}, ["ak"] = {"Akan"}, ["am"] = {"Amharic"}, ["an"] = {"Aragonese"}, ["ar"] = {"Arabic"}, ["as"] = {"Assamese"}, ["av"] = {"Avaric"}, ["ay"] = {"Aymara"}, ["az"] = {"Azerbaijani"}, ["ba"] = {"Bashkir"}, ["be"] = {"Belarusian"}, ["bg"] = {"Bulgarian"}, ["bh"] = {"Bihari languages"}, ["bi"] = {"Bislama"}, ["bm"] = {"Bambara"}, ["..." current
  • 07:1107:11, 21 April 2025 diff hist +424 N Template:Longitem Created page with "<noinclude>{{#tag: code| </noinclude>{{#ifeq: {{{1|+}}} | {{{1|-}}} | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: {{{1|+}}} | {{{1|-}}} | {{{style|}}}">{{{1|}}}</div> | <includeonly>width: 100%;</includeonly> }}<includeonly>{{#if:{{{2|}}}|Category:Pages using Template:Longitem with unnamed style parameter}}</includeonly><noinclude> |lang=wikitext}} {{documentation}} </noinclude>" current
  • 07:0807:08, 21 April 2025 diff hist +1,341 N Template:Author Created page with "<div style="font-weight: bold; font-size: 110%; margin-bottom: 1em">{{#if: {{{1|}}}{{{Author|}}}|Author: [[:Category:Articles by {{{1|{{{Author|}}}}}|{{{1|{{{Author|}}}}}}]][[Category:Articles by {{{1|{{{Author|}}}}}}]]}}{{#if: {{{2|}}}{{{Author2|}}}|, [[:Category:Articles by {{{2|{{{Author2|}}}}}|{{{2|{{{Author2|}}}}}}]][[Category:Articles by {{{2|{{{Author2|}}}}}}]]}}{{#if: {{{3|}}}{{{Author3|}}}|, [[:Category:Articles by {{{3|{{{Author3|}}}}}|{{{3|{{{Author3|}}}}}}]][..."
  • 07:0307:03, 21 April 2025 diff hist +1,606 N Template:R/superscript Created page with "<!-- Only for internal use: |wrap=n[o]/y[es]/f[orced] |leadin=value |prefix=value |pp=value |where=value |sup-where=value |quote-where=value |quote=value |language=value |translation=value |suffix=value -->{{#if:{{{where|}}}|<sup class="reference {{#switch:{{{wrap|}}}|f|forced=|no}}wrap">{{#if:{{{quote|}}}|{{{prefix|}}}}}<span title="<!--{{#invoke:String|replace|source={{#invoke:String|replace|source={{#invoke:String|replace|source=-->{{#invoke:DecodeEncode|encode|s={{#i..." current
  • 07:0307:03, 21 April 2025 diff hist +3,091 N Template:Reference page Created page with "{{#if:{{{needed|}}}|{{page needed|date={{{date|}}}|reason={{{reason|}}}}}|{{r/superscript |prefix={{#switch:{{{style|}}}|AMA|Ama|ama=(|: }} |suffix={{#switch:{{{style|}}}|AMA|Ama|ama=)| }} |pp={{#switch:{{{style|}}}|AMA|Ama|ama={{#if:{{{no-pp|{{{nopp|}}}}}}||{{#if:{{{pages|{{{pp|}}}}}}|pp|{{#if:{{{page|{{{p|}}}}}}|p}}}}}}}}<!-- p/pp is only used in superscript label, therefore it does not contain any qp params --> |leadin={{#switch:{{{quotation-pages|{{..." current
  • 07:0007:00, 21 April 2025 diff hist +31,709 N Module:Lang/data Created page with "local lang_obj = mw.language.getContentLanguage(); local this_wiki_lang_tag = lang_obj.code; -- get this wiki's language tag --[[--------------------------< L A N G _ N A M E _ T A B L E >------------------------------------------------ primary table of tables that decode: lang -> language tags and names script -> ISO 15924 script tags region -> ISO 3166 region tags variant -> IANA registered variant tags suppressed -> map of scripts tags and their assoc..." current
  • 07:0007:00, 21 April 2025 diff hist +93,423 N Module:Lang Created page with "--[=[ Lua support for the {{lang}}, {{langx}}, {{lang-??}}, and {{transliteration}} templates and replacement of various supporting templates. ]=] require('strict'); local getArgs = require ('Module:Arguments').getArgs; local unicode = require ("Module:Unicode data"); -- for is_Latin() and is_rtl() local yesno = require ('Module:Yesno'); local lang_data = mw.loadData ('Module:Lang/data'); -- language name override and transliteration tool-tip tables l..." current
  • 06:5906:59, 21 April 2025 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
  • 06:5806:58, 21 April 2025 diff hist +8,998 N Module:Infobox/utilities Created page with "require('strict'); local getArgs = require ('Module:Arguments').getArgs; --[=[--------------------------< I N T E R L A N G _ W I K I S O U R C E _ L I N K _ M A K E >------------------ created as a test function to figure out why the wikitext for |data36= in this version of the template doesn't work in Salammbô when |title_orig= exists but does not have a value. When that happened, the infobox returned plain wikitext [[s:fr:Salam..." current
  • 06:5706:57, 21 April 2025 diff hist +478 N Template:Wikidata image Created page with "{{#if:{{NAMESPACE}}|| {{#if:{{{1|}}} | {{#if:{{#property:P18}} | {{#ifeq:{{filepath:{{{1|}}} }}|{{filepath:{{#property:P18}} }} | | }} | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}} | | }} }} | {{#if:{{#property:P18}} | {{#if:{{{2|}}} | | Category:No local image but image on Wikidata }} | }} }} }}<noinclude> {{doc}} </noinclude>" current
  • 06:5706:57, 21 April 2025 diff hist +3,339 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 require ('strict'); 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..." current
  • 06:5606:56, 21 April 2025 diff hist +1,093 N Module:Side box/styles.css Created page with "{{pp|small=y}}: .side-box { margin: 4px 0; box-sizing: border-box; border: 1px solid #aaa; font-size: 88%; line-height: 1.25em; background-color: var(--background-color-interactive-subtle, #f8f9fa); display: flow-root; } .side-box-abovebelow, .side-box-text { padding: 0.25em 0.9em; } .side-box-image { @noflip: padding: 2px 0 2px 0.9em; text-align: center; } .side-box-imageright { @noflip: padding: 2px 0.9em 2px 0; text-align: center; }..." current
  • 06:5506:55, 21 April 2025 diff hist +3,691 N Module:Side box Created page with "local yesno = require('Module:Yesno') local p = {} local function makeData(args) local data = {} -- Main table classes data.classes = {} if yesno(args.metadata) ~= false then table.insert(data.classes, 'metadata') end if args.position and args.position:lower() == 'left' then table.insert(data.classes, 'side-box-left') else table.insert(data.classes, 'side-box-right') end if args.collapsible then table.insert(data.classes, 'mw-collapsible') if args...." current
  • 06:5506:55, 21 April 2025 diff hist +12,769 N Module:Template wrapper Created page with "require('strict'); local error_msg = '<span style=\"font-size:100%\" class=\"error\"><code style=\"color:inherit; border:inherit; padding:inherit;\">|_template=</code> missing or empty</span>'; --[[--------------------------< I S _ I N _ T A B L E >-------------------------------------------------------- scan through tbl looking for value; return true if found, false else ]] local function is_in_table (tbl, value) for k, v in pairs (tbl) do if v ==..." current
  • 06:5506:55, 21 April 2025 diff hist +2,066 N Module:Uses Wikidata Created page with "local p = {} function p.usesProperty(frame) local args = frame.getParent(frame).args or nil if mw.text.trim(args[1] or '') == '' then args = frame.args end local result = '<ul>' local ii = 1 while true do local p_num = mw.text.trim(args[ii] or '') if p_num ~= '' then local label = mw.wikibase.getLabel(p_num) or "NO LABEL" result = result .. "<li>middle|4px|link=|alt= <b><i>[[d:Property talk:" .. p_num .. "|" .. label ...." current
  • 06:5406:54, 21 April 2025 diff hist +17,348 N Module:Unicode data Created page with "local p = {} local floor = math.floor local function errorf(level, ...) if type(level) == "number" then return error(string.format(...), level + 1) else -- level is actually the format string. return error(string.format(level, ...), 2) end end local function binary_range_search(codepoint, ranges) local low, mid, high low, high = 1, ranges.length or require "Module:TableTools".length(ranges) while low <= high do mid = floor((low + high) / 2) local range =..." current
  • 06:5106:51, 21 April 2025 diff hist +34,974 N Module:Wikidata Created page with "-- vim: set noexpandtab ft=lua ts=4 sw=4: require('strict') local p = {} local debug = false ------------------------------------------------------------------------------ -- module local variables and functions local wiki = { langcode = mw.language.getContentLanguage().code } -- internationalisation local i18n = { ["errors"] = { ["property-not-found"] = "Property not found.", ["entity-not-found"] = "Wikidata entity not found.", ["unknown-claim-type"] = "Un..." current
  • 06:4606:46, 21 April 2025 diff hist +9,249 N Template:Infobox book Created page with "{{Infobox | italic title = {{{italic title|<noinclude>no</noinclude>}}} | bodyclass = vcard | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} <!---------------Title-----------------> | titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em<!--(so title doesn't touch border)-->; | title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_r..."
  • 06:4406:44, 21 April 2025 diff hist +151 N Template:PAGENAMEBASE Created page with "{{safesubst:<noinclude/>#invoke:String|replace|{{{1|{{safesubst:<noinclude/>PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude> {{documentation}} </noinclude>" current
  • 06:4306:43, 21 April 2025 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
  • 06:4206:42, 21 April 2025 diff hist +1,728 N Module:Separated entries Created page with "-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local dataPlural = args.dataPlural local separator = args.separator..." current
  • 06:4206:42, 21 April 2025 diff hist +4,518 N Module:Detect singular Created page with "local p = {} local getArgs = require('Module:Arguments').getArgs local yesNo = require('Module:Yesno') local getPlain = require('Module:Text').Text().getPlain -- function to determine whether "sub" occurs in "s" local function plainFind(s, sub) return mw.ustring.find(s, sub, 1, true) end -- function to count the number of times "pattern" (a regex) occurs in "s" local function countMatches(s, pattern) local _, count = mw.ustring.gsub(s, pattern, '') return count end..." current
  • 06:4106:41, 21 April 2025 diff hist +111 N Template:Br separated entries Created page with "{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|br}}<noinclude> {{documentation}} </noinclude>" current
  • 06:4006:40, 21 April 2025 diff hist +77 N Template:Pluralize from text Created page with "{{#invoke:Detect singular|pluralize}}<noinclude>{{documentation}}</noinclude>" current
  • 06:4006:40, 21 April 2025 diff hist +145 N Template:Nowrap Created page with "<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} <!-- Categories go on the /doc page; interwikis go to Wikidata. --> </noinclude>" current
  • 06:3906:39, 21 April 2025 diff hist +234 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 k,v in ipairs(args) do if v ~= '' then return v end end end return p" current
  • 06:3906:39, 21 April 2025 diff hist +102 N Template:If empty Created page with "{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>" current
  • 06:3806:38, 21 April 2025 diff hist +15,135 N Template:Infobox person Created page with "{{#invoke:infobox|infoboxTemplate|child={{{child|{{{embed|}}}}}} | bodyclass = biography vcard | above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}<div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific suffix|{{..."
  • 06:3606:36, 21 April 2025 diff hist +7,098 N Template:Infobox character Created page with "{{Main other|{{Short description|Fictional character|noreplace|pagetype=Articles}}}} {{Infobox | bodyclass = ib-character | templatestyles = Infobox character/styles.css | above = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }} | aboveclass = notheme | headerclass = notheme | subheader = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }}..." current

3 April 2025

  • 14:0414:04, 3 April 2025 diff hist +1,852 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: var(--background-color-neutral-subtle, #f8f9fa); box-sizing: border-box; color: var(--color-base, #202122); } 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-de..." current
  • 14:0314:03, 3 April 2025 diff hist +18,961 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
  • 14:0214:02, 3 April 2025 diff hist +146 N Template:Ombox Created page with "{{#invoke:Message box|ombox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 14:0114:01, 3 April 2025 diff hist +9,894 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
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)