2 May 2024
- 23:3423:34, 2 May 2024 diff hist +7,836 N Module:Format link Created page with "-------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the {{format link}} template. -------------------------------------------------------------------------------- local libraryUtil = require(..." current
- 23:3423:34, 2 May 2024 diff hist +5,077 N Module:Documentation Created page with "-- <nowiki> local dependencyList = require( 'Module:DependencyList' ) local yn = require( 'Module:Yesno' ) local p = {} function p.doc( frame ) local title = mw.title.getCurrentTitle() local args = frame:getParent().args local page = args[1] or mw.ustring.gsub( title.fullText, '/doc$', '' ) local addDependencyList = yn( args.DependencyList or true ) local addModuleToc = yn( args.ModuleToc or true ) local isDataModule = yn( args.isData or false )..." current
- 23:3423:34, 2 May 2024 diff hist +29,176 N Module:DependencyList Created page with "require("strict"); local p = {} local libraryUtil = require( 'libraryUtil' ) local arr = require( 'Module:Array' ) local yn = require( 'Module:Yesno' ) local param = require( 'Module:Paramtest' ) local dpl = require( 'Module:DPLlua' ) local userError = require("Module:User error") local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local moduleIsUsed = false local COLLAPSE_LIST_LENGTH_THRESHOLD = 1 local MAX_DYNAMIC_REQUIRE_LIST_LE..." current
- 23:3323:33, 2 May 2024 diff hist +23,446 N Module:DPLlua Created page with "-- <nowiki> local dpl = {} local libraryUtil = require( 'libraryUtil' ) local hasContent = require( 'Module:Paramtest' ).has_content local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg dpl.pipe = '¦' local dataContentMarker = '`#@@#`' local allIncludedParamNames = {} -- Custom function for splitting a string because mw.text.split() is waaay too slow local function split( str, pattern, plain ) local res = {}..." current
- 23:3323:33, 2 May 2024 diff hist +20,416 N Module:Array Created page with "-- <nowiki> awawa local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local arr = {} setmetatable(arr, { __call = function (_, array) return arr.new(array) end }) function arr.__index(t, k) if type(k) == 'table' then local res = arr.new() for i = 1, #t do res[i] = t[k[i]] end..." current
- 23:3223:32, 2 May 2024 diff hist +642 N Module:Arguments/doc Created page with "{{Documentation}} {{Wikipedia template}} '''Module:Arguments''' provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, and should not be called from #invoke directly. Its features include: * Easy trimming of arguments and removal of blank arguments. * Arguments can be passed by both the current frame and by the parent frame at the same time. (More details below.) * Arguments can be passed in directly from another..." current
- 23:3223:32, 2 May 2024 diff hist +14,989 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) == 's..." current
- 23:3123:31, 2 May 2024 diff hist +514 N Mediawiki/common.css Created page with ".infobox.biota { border: 1px solid #ddd; background-color: #f9f9f9; font-size: 90%; width: 280px; margin: 1em 0 1em 1em; float: right; clear: right; padding: 0.5em; } .infobox.biota td { padding: 0.2em 0.5em; text-align: left; vertical-align: top; } .infobox.biota td:first-child { font-weight: bold; text-align: right; padding-right: 0.5em; } .infobox.biota th { background-color: #efefef; font-weight: bold; text-ali..."
- 23:2923:29, 2 May 2024 diff hist +8,174 N Module:Hatnote Created page with "-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modules...." current
- 23:2823:28, 2 May 2024 diff hist +8,942 N Module:Hatnote list Created page with "-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants. Also introd..." current
- 23:2623:26, 2 May 2024 diff hist +2,391 N Module:Paramtest Created page with "--[[ {{Helper module |name=Paramtest |fname1 = is_empty(arg) |ftype1 = String |fuse1 = Returns true if arg is not defined or contains only whitespace |fname2 = has_content(arg) |ftype2 = String |fuse2 = Returns true if arg exists and does not only contain whitespace |fname3 = default_to(arg1,arg2) |ftype3 = String, Any value |fuse3 = If arg1 exists and does not only contain whitespace, the function returns arg1, otherwise returns arg2 |fname4 = defaults{ {arg1,arg2},...}..." current
- 23:2623:26, 2 May 2024 diff hist +20,441 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
- 23:2523:25, 2 May 2024 diff hist +7,121 N Module:Time ago Created page with "-- Implement Template:Time ago local numberSpell, yesno -- lazy load function numberSpell(arg) numberSpell = require('Module:NumberSpell')._main return numberSpell(arg) end function yesno(arg) yesno = require('Module:Yesno') return yesno(arg) end local p = {} -- Table to convert entered text values to numeric values. local timeText = { ['seconds'] = 1, ['minutes'] = 60, ['hours'] = 3600, ['days'] =..." current
- 23:2423:24, 2 May 2024 diff hist +34,756 N Module:Transcluder Created page with "local p = {} -- Helper function to test for truthy and falsy values local function truthy(value) if not value or value == '' or value == 0 or value == '0' or value == 'false' or value == 'no' then return false end return true end -- Helper function to match from a list regular expressions -- Like so: match pre..list[1]..post or pre..list[2]..post or ... local function matchAny(text, pre, list, post, init) local match = {}..." current
- 23:2123:21, 2 May 2024 diff hist +983 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 v..." current
- 23:2023:20, 2 May 2024 diff hist +1,088 N Module:User error Created page with "-------------------------------------------------------------------------------- -- A less intimidating version of the built-in "error()" function, to help -- editors fix their mistakes when transcluding a template. -- -- @see wikia:w:c:Dev:Module:User error for a similar module. -------------------------------------------------------------------------------- local checkType = require("libraryUtil").checkType; return function (message, ...) checkType("Modul..." current
25 April 2024
- 06:0206:02, 25 April 2024 diff hist +4,469 N Freshwater Created page with "'''Freshwater fish''' are a diverse group of fish living in freshwater environments, including rivers, streams, ponds, and lakes. They inhabit a range of environments across all continents and climates, from the icy rivers of Canada to warm, stagnant ponds near the equator. Freshwater environments are home to a vast range of fish species, with new species regularly discovered by scientists. =='''Anatomy and Physiology'''== The anatomy and physiology of freshwater fish ar..." current
- 06:0006:00, 25 April 2024 diff hist +7,954 N Camallanus Worms Created page with "==Camallanus Worms== Camallanus is a genus of parasitic roundworms that can affect any fresh water fish, some amphibians, and even aquatic reptiles such as turtles. They typically are transmitted via a crustacean intermediate host, but ''Camallanus cotti'' does not require an intermediate host to infect other hosts. An infection of camallanus worms can be fatal if left untreated. These nematodes will burrow into the gut of other animals and feed off of their blood. In le..." current
- 05:4605:46, 25 April 2024 diff hist +2,128 N Brackish Created page with "'''Brackish fish''' are a unique group of aquatic species adapted to environments with a mix of fresh and salt water, such as estuaries, mangroves, and salt marshes. === '''Brackish Habitats''' === Brackish habitats are known for their fluctuating salinity levels that change due to tidal patterns or variations in freshwater input. These dynamic environments often harbor a diverse range of species, each uniquely adapted to life in these challenging conditions. === '''A..." current