Search results
- cat, sort ) end end -- Validation function for the expiry and the protection date local function validateDate(dateString, dateType) if not lang25 KB (2,948 words) - 10:48, 19 March 2019
- then templateCat = templateErrorCategory templateSort = 'C' end end self:addCat(10, templateCat, templateSort) end end function Message17 KB (2,326 words) - 07:06, 3 March 2019
- ------------------------------------------ local function makeInvokeFunc(funcName) return function (frame) local origArgs = require('Module:Arguments')13 KB (1,812 words) - 04:13, 8 February 2019
- args = {} local origArgs local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval)16 KB (1,753 words) - 23:32, 6 February 2019
- 'Lua String-based templates', ['Module:Math'] = 'Templates based on the Math Lua module', ['Module:BaseConvert'] = 'Templates based on the BaseConvert3 KB (375 words) - 07:05, 25 February 2019
- end local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end function p.findNamespaceId(link7 KB (761 words) - 23:31, 6 February 2019
- -- This module implements [[Template:Pp-move-indef]]. local p = {} function p.main(title) if type(title) == 'string' then title = mw.title.new(title)1 KB (173 words) - 23:49, 3 March 2019
- IVONA Eric's ErrorGang (category Articles which use infobox templates with no data rows)originally shared, was brought to the house. However, production has functioned differently from how it did in 2016-17, namely with editing moving from19 KB (2,919 words) - 15:59, 7 June 2023
- three templates with the code: userbox.main(functionName, args) For {{userbox}} use the function name "_userbox"; for {{userbox-2}} use the function name2 KB (135 words) - 04:14, 8 February 2019
- = 'flags', ['$B'] = 'template content' } function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if --4 KB (571 words) - 23:31, 6 February 2019
- translatable templates need themselves to transclude other translable templates (such as Tnavbar). ]] function this.getTranslatedTemplate(frame, withStatus)11 KB (1,443 words) - 00:33, 14 February 2019
- if #tStyles < 1 then cats[#cats + 1] = 'Uses TemplateStyles templates with errors' end -- TemplateStyles category titleObj = titleObj or mw.title3 KB (414 words) - 17:26, 7 March 2019
- uses}} for "other uses" hatnotes.', 'Template:For#Errors', args.category ) end local pages = {} function two (a, b) return a, b, 1 end --lets us1 KB (147 words) - 18:40, 19 March 2019
- end --[[ This function implements that features of {{str sub old}} and is kept in order to maintain these older templates. ]] function str.sublength(15 KB (2,237 words) - 21:31, 5 May 2019
- checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string'2 KB (363 words) - 01:13, 7 February 2019
- catTag, catKey = Buffer'Stub message templates needing attention', '[[Category:%s]]', '%s|%s%s' local function category(cat) for _, v in ipairs((tostring(cat)12 KB (1,743 words) - 03:02, 7 February 2019
- titleObj.namespace ~= 8 end) end function titleTable:hasTemplateOrModule() return self:propertyExists('templateOrModule', function (titleObj) return titleObj21 KB (2,420 words) - 19:36, 6 March 2019
- of standard templates, all special tags or special pages, or parser function extensions do not work (Only the #expr parser function is supported17 KB (2,058 words) - 22:14, 5 March 2019
- return nsDetect(ndArgs) end local function detectRedirects(args) local redirect = args[cfg.redirect] -- The yesno function returns true/false for "yes",6 KB (785 words) - 00:49, 14 February 2019
- return mw.text.listToText(list, separator .. s, conjunction) end --DRY function function conjList (conj, list, fmt) return stringifyList(list, {conjunction7 KB (897 words) - 19:27, 5 April 2019