Main public logs
Appearance
Combined display of all available logs of Marxist Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 02:27, 13 March 2025 Thehighwayman talk contribs created page 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 =...")
- 02:27, 13 March 2025 Thehighwayman talk contribs protected Module:Web citation [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:27, 13 March 2025 Thehighwayman talk contribs created page Module:Web citation (Created page with "local p = {} local function is_set (var) return not (var == nil or var == ''); end local function italics (var) return "''" .. var .. "''" end function p.cite( frame ) local pframe = frame:getParent() local Author = pframe.args.author if is_set (pframe.args.journalist) then Author = pframe.args.journalist end local Date = pframe.args['date'] local Title = pframe.args.title local URL = pframe.args.url local Website = pframe.args.newspaper or pframe.args.we...")
- 02:26, 13 March 2025 Thehighwayman talk contribs protected Module:WPMILHIST Infobox style [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:26, 13 March 2025 Thehighwayman talk contribs created page Module:WPMILHIST Infobox style (Created page with "local retval = { main_box_raw_auto_width = 'border-spacing:2px;', header_raw = 'text-align:center;padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;', sub_header_raw = 'text-align:center;vertical-align:middle;', nav_box = 'margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;', nav_box_child = 'margin:0;float:right;clear:right;width:25em;margin-bottom:0.5em;', nav_box_wide = '', nav_box_label = 'background-color:#DCDCDC;...")
- 02:25, 13 March 2025 Thehighwayman talk contribs protected Module:Video citation [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:25, 13 March 2025 Thehighwayman talk contribs created page Module:Video citation (Created page with "local p = {} local function is_set (var) return not (var == nil or var == ''); end local function italics (var) return "<i>" .. var .. "</i>" end function p.cite(frame) local parent = frame:getParent() local Title = parent.args.title local Channel = parent.args.channel local Date = parent.args['date'] local Quote = parent.args.quote local URL = parent.args.url local ArchiveURL = parent.args['archive-url'] local ArchiveDate = parent.args['archive-date'] lo...")
- 02:24, 13 March 2025 Thehighwayman talk contribs protected Module:Userbox [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:23, 13 March 2025 Thehighwayman talk contribs created page Module:Userbox (Created page with "-- This module implements {{userbox}}. local categoryHandler = require('Module:Category handler').main local p = {} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- local function checkNum(val, default) -- Checks whether a value is a number greater than or equal to zero. If so, -- returns it as a number. If not, returns a default valu...")
- 02:23, 13 March 2025 Thehighwayman talk contribs protected Module:Unsubst [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:22, 13 March 2025 Thehighwayman talk contribs created page Module:Unsubst (Created page with "local checkType = require('libraryUtil').checkType local p = {} local BODY_PARAM = '$B' local specialParams = { ['$params'] = 'parameter list', ['$aliases'] = 'parameter aliases', ['$flags'] = 'flags', ['$B'] = 'template content', ['$template-name'] = 'template invocation name override', } function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if -- not, it returns the template body. The template body can be specif...")
- 02:22, 13 March 2025 Thehighwayman talk contribs protected Module:Transcluder [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:22, 13 March 2025 Thehighwayman talk contribs created page Module:Transcluder (Created page with "-- Module:Transcluder is a general-purpose transclusion engine -- Central version and documentation at https://en.wikipedia.org/wiki/Module:Transcluder -- By User:Sophivorus, User:Certes & others -- Version 1.4.1 -- License CC-BY-SA-3.0 local p = {} -- Helper function to test for truthy and falsy values -- @todo Somehow internationalize it local function truthy(value) if not value or value == '' or value == 0 or value == '0' or value == 'false' or value == 'no' or val...")
- 02:21, 13 March 2025 Thehighwayman talk contribs protected Module:Test3 [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:21, 13 March 2025 Thehighwayman talk contribs created page Module:Test3 (Created page with "local p = {} function p.main(frame) return frame:callParserFunction("REVISIONUSER") end return p")
- 02:20, 13 March 2025 Thehighwayman talk contribs protected Module:Test2 [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:20, 13 March 2025 Thehighwayman talk contribs created page Module:Test2 (Created page with "function splitLines(text) local lines = {} for line in text:gmatch("[^\r\n]+") do table.insert(lines, line) end return lines end local p = {} function p.Sitename(frame) local extDataTable = mw.ext.externalData.getExternalData(frame.args[1])[1]["__text"] local dataLines = splitLines(extDataTable) local sitename = '' for i,line in ipairs(dataLines) do if line:match("og:site_name") then sitename = line:match('content="([^"]+)"') break...")
- 02:20, 13 March 2025 Thehighwayman talk contribs protected Module:Test [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:19, 13 March 2025 Thehighwayman talk contribs created page Module:Test (Created page with "local p = {} function p.test( frame ) -- Get contents of page local pageContent = tostring(mw.title.getCurrentTitle():getContent()) -- Split contents of page in lines local pageLines = mw.text.split(pageContent,'\n',true) local render = '' for i=1,#pageLines do -- Get every line starting with '==', that is, a header if mw.text.split(pageLines[i], '%s')[1] == '==' then render = render .. pageLines[i] end end return render end return p")
- 02:19, 13 March 2025 Thehighwayman talk contribs protected Module:TOC [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:19, 13 March 2025 Thehighwayman talk contribs created page Module:TOC (Created page with "local p = {} -- creates a table to capture data processed here function p.main( frame ) -- create function which will process data from the template (which is the frame). Currently the template is Template:Custom TOC -- Inside Custom TOC it essentially performs {{#invoke:TOC|main}} which invokes this module and calls the function main local args = frame:getParent().args -- creates a table "args" capturing data from template's transclusion, that is, when the template...")
- 02:18, 13 March 2025 Thehighwayman talk contribs protected Module:Sidebar/styles.css [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:18, 13 March 2025 Thehighwayman talk contribs created page 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: 25em; @noflip: float: right; @noflip: clear: right; @noflip: margin: 0.5em 0 1em 1em; background-color: var(--color-surface-2); border: 1px solid #aaa; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; /* Timeless has display: none on .nomobile at...")
- 02:17, 13 March 2025 Thehighwayman talk contribs protected Module:Sidebar/configuration [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:17, 13 March 2025 Thehighwayman talk contribs created page 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', category = { child = '', conversion = '' }, pattern = { collapse_sandbox = '/sandbox$', sandbox...")
- 02:15, 13 March 2025 Thehighwayman talk contribs protected Module:Sidebar [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:14, 13 March 2025 Thehighwayman talk contribs created page Module:Sidebar (Created page with "-- -- This module implements {{Sidebar}} -- require('Module:No globals') 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 do...")
- 02:13, 13 March 2025 Thehighwayman talk contribs protected Module:Selected recent additions [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:11, 13 March 2025 Thehighwayman talk contribs created page Module:Selected recent additions (Created page with "local randomModule = require('Module:Random') function cleanupArgs(argsTable) local cleanArgs = {} for key, val in pairs(argsTable) do if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val ~= '' then cleanArgs[key] = val end else cleanArgs[key] = val end end return cleanArgs end function isAffirmed(val) if not(val) then return false end local affirmedWords = ' add added affirm affirmed include included on true yes y ' return...")
- 02:11, 13 March 2025 Thehighwayman talk contribs protected Module:Reply to [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:11, 13 March 2025 Thehighwayman talk contribs created page Module:Reply to (Created page with "local p = {} local function makeError(msg) msg ='Error in Template:Reply to: ' .. msg return mw.text.tag('strong', {['class']='error'}, msg) end function p.replyto(frame) local origArgs = frame:getParent().args local args = {} local maxArg = 1 local usernames = 0 for k, v in pairs(origArgs) do if type(k) == 'number' then if mw.ustring.match(v,'%S') then if k > maxArg then maxArg = k end usernames = usernames + 1 local title = mw.title.new(v)...")
- 02:10, 13 March 2025 Thehighwayman talk contribs protected Module:Reading time [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:09, 13 March 2025 Thehighwayman talk contribs created page Module:Reading time (Created page with "-- Calculate estimated reading time for any page rounded to multiple of 5. Outputs "X-Y minutes". -- invoke on any page or template with {{#invoke:Reading time|estimateReadingTime|YourPageHere}} (change YourPageHere) local p = {} local mw = require("mw") function p.estimateReadingTime(frame) -- Get the page title from the frame parameter local pageTitle = frame.args[1] -- Ensure that pageTitle is a string if type(pageTitle) == "string" then --...")
- 02:09, 13 March 2025 Thehighwayman talk contribs protected Module:Random slideshow [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:05, 13 March 2025 Thehighwayman talk contribs created page Module:Random slideshow (Created page with "-- Creates a slideshow gallery where the order is randomised. Intended for use on portal pages. local p = {} local excerptModule = require('Module:Excerpt/portals') local randomModule = require('Module:Random') function cleanupArgs(argsTable) local cleanArgs = {} for key, val in pairs(argsTable) do if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val ~= '' then cleanArgs[key] = val end else cleanArgs[key] = val end end return c...")
- 02:05, 13 March 2025 Thehighwayman talk contribs protected Module:Random portal component [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:04, 13 March 2025 Thehighwayman talk contribs created page Module:Random portal component (Created page with "-- This module implements Template:Random portal component local p = {} local mRandom = require('Module:Random') local currentTitle = mw.title.getCurrentTitle() -- tracking function added by BHG 29/04/2019 -- called as subPageTrackingCategories(pages, args.max) local function subPageTrackingCategories(pages, max, header) local retval = ""; local thispagetitle = mw.title.getCurrentTitle().text -- don't track DYK etc, only selected/featured articles, biogs etc...")
- 02:04, 13 March 2025 Thehighwayman talk contribs protected Module:Random [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:03, 13 March 2025 Thehighwayman talk contribs created page Module:Random (Created page with "local p = {} function p.random(frame) local parent = frame:getParent() local a = tonumber(parent.args[1]) or 1 local b = tonumber(parent.args[2]) or 100 local Date = os.date() local h = Date:match("(%d+):%d+:%d+") local m = Date:match("%d+:(%d+):%d+") local s = Date:match("%d+:%d+:(%d+)") local rnd = s * s * math.random(a,b) local loop = 0 while (rnd > b or rnd < a) do loop = loop +1 if (loop > 50) then rnd = a break end if (rnd > b)...")
- 02:03, 13 March 2025 Thehighwayman talk contribs protected Module:Purge [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:03, 13 March 2025 Thehighwayman talk contribs created page Module:Purge (Created page with "-- This module implements Template:Purge. local p = {} local function makeUrlLink(url, display) return string.format('[%s %s]', url, display) end function p._main(args) -- Make the URL local url do local title if args.page then title = mw.title.new(args.page) if not title then error(string.format( "'%s' is not a valid page name", args.page ), 2) end else title = mw.title.getCurrentTitle() end if args.anchor then title...")
- 02:02, 13 March 2025 Thehighwayman talk contribs protected Module:Pagetype/config [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:02, 13 March 2025 Thehighwayman talk contribs created page 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...")
- 02:01, 13 March 2025 Thehighwayman talk contribs protected Module:Pagetype [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:00, 13 March 2025 Thehighwayman talk contribs created page 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...")
- 02:00, 13 March 2025 Thehighwayman talk contribs protected Module:Number of works [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 02:00, 13 March 2025 Thehighwayman talk contribs created page Module:Number of works (Created page with "-- This module is DEPRECATED. We turned to using DPL lists to count numbers of works in a library card. local p = {} function p.getWorkCount(frame) local category = frame.args.category or '' local pages = mw.site.stats.pagesInCategory(category) if tonumber(pages) == 1 then return "1 work" else return pages .. " works" end end function p.main(frame) return p.getWorkCount(frame) end")
- 01:58, 13 March 2025 Thehighwayman talk contribs protected Module:No globals [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 01:58, 13 March 2025 Thehighwayman talk contribs created page Module:No globals (Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)")
- 01:58, 13 March 2025 Thehighwayman talk contribs protected Module:Navbox [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)