All public logs
From MoHA Wiki
Combined display of all available logs of MoHA Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 03:16, August 9, 2022 Moha talk contribs deleted page Module:Lua banner (content was: "-- 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) local m...")
- 03:16, August 9, 2022 Moha talk contribs deleted page Module:List (content was: "-- This module outputs different kinds of lists. At the moment, bulleted, -- unbulleted, horizontal, ordered, and horizontal ordered lists are supported. 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) --...")
- 03:16, August 9, 2022 Moha talk contribs deleted page Module:High-use (content was: "local p = {} -- _fetch looks at the "demo" argument. local _fetch = require('Module:Transclusion_count').fetch local yesno = require('Module:Yesno') function p.num(frame, count) if count == nil then if yesno(frame.args['fetch']) == false then if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end else count = _fetch(frame) end end -- Build output string local return_value = "" if count == nil then if frame.args[1] == "risk" then return...")
- 03:16, August 9, 2022 Moha talk contribs deleted page Module:Hatnote/styles.css (content was: "{{pp|small=y}}: .hatnote { font-style: italic; } Limit structure CSS to divs because of Module:Hatnote inline: div.hatnote { @noflip: padding-left: 1.6em; margin-bottom: 0.5em; } .hatnote i { font-style: normal; } The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .hatnote + link + .hatnote { margin-top: -0.5em; }")
- 03:16, August 9, 2022 Moha talk contribs deleted page Module:Hatnote/doc (content was: "{{used in system|in MediaWiki:Wantedpages-summary}} {{module rating|protected}} {{Lua|Module:Yesno|Module:Arguments}} {{Uses TemplateStyles|Module:Hatnote/styles.css}} This is a meta-module that provides various functions for making hatnotes. It implements the {{tl|hatnote}} template, for use in hatnotes at the top of pages, and the {{tl|format link}} template, which is used to format a wikilink for use in hatnotes. It also contains a number of helper...")
- 03:16, August 9, 2022 Moha talk contribs deleted page Module:File link (content was: "-- 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 '%s' pa...")
- 03:15, August 9, 2022 Moha talk contribs deleted page Module:Effective protection level (content was: "local p = {} -- Returns the permission required to perform a given action on a given title. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview' then local level = mw....")
- 03:15, August 9, 2022 Moha talk contribs deleted page Module:Effective protection expiry (content was: "local p = {} -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview'...")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Uses TemplateStyles (content was: "<includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly><noinclude> {{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Used in system (content was: "{{#invoke:High-use|main|1=|2={{{2|}}}|system={{#if:{{{1|}}}|{{{1}}}|in system messages}}<noinclude>|nocat=true</noinclude>}}<noinclude> {{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Tl (content was: "#REDIRECT Template:Template link {{Redirect category shell| {{R from move}} }}")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Template link (content was: "{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>{{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Tag (content was: "<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- Opening tag -->{{#switch:{{{2|pair}}} |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:{{{link|}}}|tag}}}|{{{1|tag}}}|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}} }}<!-- Content between tags -->{{#switch:{{{2|pair}}} |c|close = {{{content|}}} |e|empty...")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Sandbox other (content was: "{{#if:{{#ifeq:{{#invoke:String|sublength|s={{SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!-- --><noinclude>{{documentation}}</noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Ombox (content was: "{{#invoke:Message box|ombox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Module rating (content was: "<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 = 40x40px|link=|alt=Pre-alpha | alpha | a = File:Alpha lowercase.svg|...")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Module other (content was: "{{#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 = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Lua (content was: "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Hatnote (content was: "<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>")
- 03:15, August 9, 2022 Moha talk contribs deleted page Template:Code (content was: "{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>")
- 03:14, August 9, 2022 Moha talk contribs deleted page Template:Clc (content was: "#REDIRECT Template:Category link with count")
- 03:14, August 9, 2022 Moha talk contribs deleted page Template:Category link with count (content was: "[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!-- -->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!-- -->]]Â ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude> {{Documentation}} </noinclude>")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:No globals (content was: "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)")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Message box/tmbox.css (content was: "{{pp|small=y}}: .tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090; Default "notice" gray-brown: background-color: #f8eaba; box-sizing: border-box; } For the "small=yes" option.: .tmbox.mbox-small { font-size: 88%; line-height: 1.25em; } .tmbox-speedy { border: 2px solid #b32424; Red: background-color: #fee7e6; Pink: } .tmbox-delete { border: 2px solid #b32424; Red: } .tmbox-content { border: 2px...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Message box/ombox.css (content was: "{{pp|small=y}}: .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; Default "notice" gray: background-color: #f8f9fa; box-sizing: border-box; } 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-delete { border: 2px solid #b32424; Red: } .ombox-content { border: 1px solid...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Message box/configuration (content was: "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-speedy',...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Documentation/styles.css (content was: "{{pp|small=yes}}: .documentation, .documentation-metadata { border: 1px solid #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: 1px solid #aaa; margin-bottom: 1ex...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Documentation/config (content was: "---------------------------------------------------------------------------------------------------- -- -- 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. ----------------------------------------------------------------------------------------...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Documentation (content was: "-- 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 purposes. ---...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Module:Citation/doc (content was: "{{Mbox | type = style | image = 40px|alt=|link= | text = '''{{FULLPAGENAME}}''' is retained for historical and structural reasons; consider using Module:Citation/CS1. }} {{oldtfdfull|date= 2018 May 13 |result=Blank |disc=Module:Citation}} Development of Lua support for both {{cs1}} and {{cs2}} began at '''Module:Citation'''. That development was abandoned in 2013 as development of Module:Citation/CS1 began. Though this module rema...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Template:Tmbox (content was: "{{#invoke:Message box|tmbox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>")
- 03:14, August 9, 2022 Moha talk contribs deleted page Template:Oldtfdfull (content was: "#REDIRECT Template:Old TfD {{XFDcloser standard installation}}")
- 03:14, August 9, 2022 Moha talk contribs deleted page Template:Old TfD (content was: "{{ {{{|safesubst:}}}#invoke:Unsubst||$B={{Tmbox | small = {{{small|}}} | image = {{#ifeq:{{{small|}}}|yes|30x20|50x40}}px | style = text-align:center | text = This {{#switch:{{{demospace|{{NAMESPACE}}}}} | {{ns:Category_talk}} = category | {{ns:Module_talk}} = module | template }} {{#if:{{{1|}}}|([[{{{1}}}]])}} was considered for {{#if:{{{merge|}}}|merging|deletion}}{{#if:{{{merge|}}}|{{#ifeq:{{{merg...")
- 03:14, August 9, 2022 Moha talk contribs deleted page Template:Mbox (content was: "{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>")
- 03:13, August 9, 2022 Moha talk contribs deleted page Template:Date (content was: "{{safesubst:<noinclude/>#switch:none |{{safesubst:<noinclude/>#iferror: {{safesubst:<noinclude/>#time:Y_M_d|{{{1|}}} }} | none }} <noinclude><!-- #time: can't handle --></noinclude> |{{safesubst:<noinclude/>#iferror: {{safesubst:<noinclude/>#expr: {{{1|}}}+0 }} |<noinclude><!--not a pure number--></noinclude> |{{safesubst:<noinclude/>#ifexpr: {{{1|}}}+0 > 10000000000000 |<noinclude><!-- a yyyymmddhhmmss timestamp --></noinclude> |{{safesubst:<noinclude/>...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Template:Cs2 (content was: "Citation Style 2<noinclude> Category:Documentation assistance templates </noinclude>")
- 03:13, August 9, 2022 Moha talk contribs deleted page Template:Cs1 (content was: "Citation Style 1<noinclude> Category:Documentation assistance templates </noinclude>")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:If empty (content was: "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) local lastk = 0 for k,v in ipairs(args) do if v ~= '' then return v end lastk = k end end return p")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:Check for unknown parameters (content was: "-- 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 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 the original wikitext. loca...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:InfoboxImage (content was: "-- 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 the image...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:Navbar (content was: "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, false...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:Infobox (content was: "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 function fixChildBoxes(sval, tt) local function notempty( s ) return s and s:match( '%S' ) end if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval -- start moving templatestyles and categories inside of table rows loca...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:Authority control (content was: "require('Module:No globals') local p = {} local title = mw.title.getCurrentTitle() local namespace = title.namespace local testcases = (string.sub(title.subpageText,1,9) == 'testcases') --========================================================================== --Category functions --========================================================================== local function addCat( cat ) if cat and cat ~= ''...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:Yesno (content was: "-- 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 == 'true...")
- 03:13, August 9, 2022 Moha talk contribs deleted page Module:Arguments (content was: "-- 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' then...")
- 03:12, August 9, 2022 Moha talk contribs deleted page Module:Navbox (content was: "local p = {} local navbar = require('Module:Navbar')._navbar local cfg = mw.loadData('Module:Navbox/configuration') local getArgs -- lazily initialized local args local format = string.format local function striped(wikitext, border) -- Return wikitext with markers replaced for odd/even striping. -- Child (subgroup) navboxes are flagged with a category that is removed -- by parent navboxes. The result is that the category shows all pages -- where a child navbox is not conta...")
- 03:12, August 9, 2022 Moha talk contribs deleted page Module:Message box (content was: "require('Module:No globals') 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 -----------------------------------------------------------------------...")
- 03:12, August 9, 2022 Moha talk contribs deleted page Module:Sidebar (content was: "-- -- 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 does ]] l...")
- 03:12, August 9, 2022 Moha talk contribs deleted page Module:Unsubst (content was: "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 specified in...")
- 03:12, August 9, 2022 Moha talk contribs deleted page Module:Hatnote (content was: "-------------------------------------------------------------------------------- -- 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....")