Jump to content

User contributions for Enadmin

A user with 38 edits. Account created on 2 January 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

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
  • 14:0014:00, 3 April 2025 diff hist +4,899 N Module:Sidebar/styles.css Created page with "{{pp-template}}: TODO: Invert width design to be "mobile first": .sidebar { TODO: Ask if we should have max-width 22em instead: width: 22em; @noflip: float: right; @noflip: clear: right; @noflip: margin: 0.5em 0 1em 1em; background: var(--background-color-neutral-subtle, #f8f9fa); border: 1px solid var(--border-color-base, #a2a9b1); padding: 0.2em; text-align: center; line-height: 1.4em; font-size: 88%; border-collapse: collap..." current
  • 14:0014:00, 3 April 2025 diff hist +1,796 N Module:Sidebar/configuration Created page with "return { i18n = { child_yes = 'yes', float_none = 'none', float_left = 'left', wrap_true = 'true', navbar_none = 'none', navbar_off = 'off', default_list_title = 'List', title_not_to_add_navbar = 'Template:Sidebar', collapse_title_not_to_add_navbar = 'Template:Sidebar with collapsible lists', templatestyles = 'Module:Sidebar/styles.css', hlist_templatestyles = 'Hlist/styles.css', plainlist_templatestyles = 'Plainlist/styles.css', category = {..." current
  • 13:5913:59, 3 April 2025 diff hist +12,861 N Module:Sidebar Created page with "require('strict') local cfg = mw.loadData('Module:Sidebar/configuration') local p = {} local getArgs = require('Module:Arguments').getArgs --[[ Categorizes calling templates and modules with a 'style' parameter of any sort for tracking to convert to TemplateStyles. TODO after a long cleanup: Catch sidebars in other namespaces than Template and Module. TODO would probably want to remove /log and /archive as CS1 does ]] local function categorizeTemplatesWithInlineStyle..." current
  • 13:5713:57, 3 April 2025 diff hist +68 N Template:Sidebar Created page with "{{#invoke:Sidebar|sidebar}}<noinclude> {{documentation}}</noinclude>" current
  • 13:5713:57, 3 April 2025 diff hist +94 N Template:Navbox Created page with "<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude> {{Documentation}} </noinclude>" current
  • 13:5613:56, 3 April 2025 diff hist +1,149 N Module:Documentation/styles.css Created page with "{{pp|small=yes}}: .documentation, .documentation-metadata { border: 1px solid var( --border-color-base, #a2a9b1 ); background-color: #ecfcf4; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; same margin left-right as .documentation: font-style: italic; padding: 0.4em 1em; same padding left-right as .documentation: } .documentation-startbox { padding-bottom: 3px; border-bottom:..." current
  • 13:5613:56, 3 April 2025 diff hist +17,747 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
  • 13:5513:55, 3 April 2025 diff hist +16,577 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
  • 13:5413:54, 3 April 2025 diff hist +18,028 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
  • 13:5413:54, 3 April 2025 diff hist +21,192 N Module:Infobox3cols Created page with "local check_for_unknown_parameters = require("Module:Check for unknown parameters")._check local p = {} local args = {} local origArgs = {} local root 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' }, found = false, styles = 'Hlist/styles.css'..." current
  • 13:5213:52, 3 April 2025 diff hist +157 N Template:Infobox3cols Created page with "{{#invoke:Infobox3cols|infobox}}<noinclude> <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> {{documentation}} </noinclude>" current
  • 13:3713:37, 3 April 2025 diff hist −450 Main Page No edit summary current
  • 13:2513:25, 3 April 2025 diff hist +1,987 N MediaWiki:Common.css Created page with "CSS placed here will be applied to all skins: .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body #firstHeading, .mw-body .mw-editsection, .mw-body .mw-editsection-like, .mw-body #toc h2, .mw-body .toc h2, #documentation-meta-data, .vector-sticky-header-context-bar-primary { font-family: tahoma; } @media screen { .nochecker .gallerybox .thumb img { background-image: none; } } اصلاح صفحات مرتبط در نسخه ۱.۴۳: .cdx-card {..." current

2 April 2025

  • 23:2923:29, 2 April 2025 diff hist +5,643 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
  • 23:2823:28, 2 April 2025 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
  • 23:2723:27, 2 April 2025 diff hist +4,546 N Template:Module rating Created page with "<noinclude>{{Being deleted|2025 March 1|Template:Template rating|merge=Template:Template rating}}</noinclude><includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|<!--do not show protection level of the module on the doc page, use the second and optionally third parameter if the doc page is also protected -->{{#if:{{{2|}}}|{{Pp|{{{2}}}|action={{{3|}}}}}}}|{{Module other|{{ombox | type = notice | image = {{#switch: {{{1|}}} | pre-alpha | prealpha | pa | experimental = ..." current
  • 23:2723:27, 2 April 2025 diff hist +35,178 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 local format = mw.ustring.format ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in..." current
  • 23:2623:26, 2 April 2025 diff hist +151 N Template:Documentation Created page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Add categories to the /doc subpage --> </noinclude>" current
  • 23:2623:26, 2 April 2025 diff hist +439 N Template:Module 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:Module}} | module | other }} }} | module = {{{module|{{{1|}}}}}} | other | #default = {{{other|{{{2|}}}}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
  • 23:2523:25, 2 April 2025 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
  • 23:2523:25, 2 April 2025 diff hist +6,937 N Module:High-use Created page with "local p = {} local getArgs = require('Module:Arguments').getArgs -- _fetch looks at the "demo" argument. local _fetch = require('Module:Transclusion_count')._fetch local yesno = require('Module:Yesno') function p._num(args, count, no_percent) if count == nil then if yesno(args['fetch']) == false then if (args[1] or '') ~= '' then count = tonumber(args[1]) end else count = _fetch(args) end end -- Build output string local return_value = "" if count ==..." current
  • 23:2423:24, 2 April 2025 diff hist +270 N Template:High-use Created page with "{{#invoke:High-use|main|1={{{1|}}}|2={{{2|}}}|info={{{info|}}}|demo={{{demo|}}}|form={{{form|}}}|expiry={{{expiry|}}}|system={{{system|}}}}}<noinclude> {{Documentation}} <!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! --> </noinclude>" current
  • 23:2323:23, 2 April 2025 diff hist +4,044 N Module:File link/doc Created page with "{{high-use}} {{Module rating|protected}} {{Lua|Module:Yesno|Module:Arguments}} This module is used to construct wikitext links to files. It is primarily useful for templates and modules that use complicated logic to make file links. Simple file links should be made with wikitext markup directly, as it uses less resources than calling this module. For help with wikitext file markup please refer to the documentation at mediawiki.org. == Usage from wikit..." current
  • 23:2223:22, 2 April 2025 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
  • 23:2123:21, 2 April 2025 diff hist +2,196 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
  • 23:2123:21, 2 April 2025 diff hist +3,908 N Module:Lua banner Created page with "-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('^%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end function p._main(args)..." current
  • 23:2023:20, 2 April 2025 diff hist +196 N Template:Lua Created page with "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" current
  • 23:2023:20, 2 April 2025 diff hist +875 N Module:Infobox/doc Created page with "{{High-use|3308957|all-pages = yes}} {{module rating|protected}} {{Lua|Module:Navbar|Module:Italic title}} {{Uses TemplateStyles|Module:Infobox/styles.css|Template:Hlist/styles.css|Template:Plainlist/styles.css}} '''Module:Infobox''' is a module that implements the {{tl|Infobox}} template. Please see the template page for usage instructions. == Tracking categories == * {{clc|Pages using infobox templates with ignored data cells}} * {{clc|Articles using in..." current
  • 23:1823:18, 2 April 2025 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
  • 23:1323:13, 2 April 2025 diff hist +5,296 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
  • 19:4519:45, 2 April 2025 diff hist −1 Dance No edit summary current
  • 19:4119:41, 2 April 2025 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
  • 18:5018:50, 2 April 2025 diff hist +14 Dance No edit summary
  • 18:4818:48, 2 April 2025 diff hist +1,306 N Dance Created page with "'''Abstract ''' Dance, the act of moving the body with specific movements for the purpose of frivolous play (lahw), is considered generally forbidden (haram) by some Shia jurists, while others deem it forbidden only under specific conditions. The topic of dance received little attention in earlier sources, and Ibn Idris, in the 6th century AH (Hijri), was the first Shia jurist to briefly address it in his book al-Sara’ir. Narrations (reports/hadith) regarding dance ar..."