User contributions for Peter Harrison
Appearance
Results for Peter Harrison talk block log uploads logs filter log
A user with 12,420 edits. Account created on 21 February 2007.
A user with 12,420 edits. Account created on 21 February 2007.
13 July 2026
- 07:2007:20, 13 July 2026 diff hist +305 MediaWiki:Post-expand-template-inclusion-category Category depends on namespace current
11 July 2026
- 15:2515:25, 11 July 2026 diff hist +4,153 N Template:Param value/doc ←Created page with '{{Documentation subpage}} {{Uses TemplateStyles|Template:Param value/styles.css}} Provides a lightly bordered box to highlight param values on [Template documentation pages. Especially useful in cases where values may have leading or trailing blanks, or multiple embedded blanks. == Usage == {{tlc|param value|<var>value</var>}} == Parameters == There is one required positional parameter for the value, and four optional params...' current
- 15:2415:24, 11 July 2026 diff hist +121 N Template:Greater color contrast ratio ←Created page with '<includeonly>{{safesubst:#invoke:Color contrast|greatercontrast}}</includeonly><noinclude> {{documentation}} </noinclude>' current
- 15:2315:23, 11 July 2026 diff hist +6,207 N Template:Spaced en dash/doc ←Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Template shortcut |snd|spndash}} This template produces a '''spaced en dash''' ('''{{tlc|snd}}''' for short): <code>{{spaced en dash}}</code>. It works similarly to the HTML markup sequence <code>''' –''' </code> i.e. a non-breaking space (which will not line-break and will not collapse together with norm...' current
- 15:2115:21, 11 July 2026 diff hist +171 N Template:Template link with linked braces ←Created page with '{{#Invoke:Template link general|main|brace=yes}}<noinclude> {{documentation}}<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! --> </noinclude>' current
- 15:2015:20, 11 July 2026 diff hist +124 Template:Template link Update to latest version current
- 15:1815:18, 11 July 2026 diff hist +87 N Template:Tl/doc Peter Harrison moved page Template:Tl/doc to Template:Template link/doc current Tag: New redirect
- 15:1815:18, 11 July 2026 diff hist 0 m Template:Template link/doc Peter Harrison moved page Template:Tl/doc to Template:Template link/doc current
- 15:1815:18, 11 July 2026 diff hist +83 N Template:Tl Peter Harrison moved page Template:Tl to Template:Template link current Tag: New redirect
- 15:1815:18, 11 July 2026 diff hist 0 m Template:Template link Peter Harrison moved page Template:Tl to Template:Template link
- 15:1715:17, 11 July 2026 diff hist +721 N Module:Template link general/doc ←Created page with '{{Used in system}} {{Lua|Module:Arguments}} Implements {{Template link|Template link general}} and other templates in its family ==Basic usage== <syntaxhighlight lang="wikitext">{{#invoke:Template link general|main}}</syntaxhighlight> This module is used by {{Template link|Template link general}} and related templates to display links to templates. It is similar to {{Template link|Template link}} but with additional formatting...' current
- 15:1615:16, 11 July 2026 diff hist +4,431 N Module:Template link general ←Created page with '-- This implements Template:Template link general and various other templates in its family local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end local nw = mw.text.nowiki local function addTemplate(s) local i, _ = s:find(':', 1, true) if i == nil then return 'Template:' .. s end local ns = s:sub(1, i - 1) if ns == '' or mw.sit...' current
- 15:1515:15, 11 July 2026 diff hist +102 N Template:Tn ←Redirected page to Template:Template link with linked braces current Tag: New redirect
- 15:0615:06, 11 July 2026 diff hist +97 N Template:Snd ←Redirected page to Template:Spaced en dash current Tag: New redirect
- 15:0315:03, 11 July 2026 diff hist +52 N Template:Pvalue ←Redirected page to Template:Param value current Tag: New redirect
10 July 2026
- 12:0312:03, 10 July 2026 diff hist +87 Module:List Update to latest version current
- 12:0012:00, 10 July 2026 diff hist +16,864 N Module:IP/doc ←Created page with '{{used in system}} Module:IP is a library for working with IP addresses and subnets. It can handle both IPv4 and IPv6. The library exports four classes, IPAddress, Subnet, IPv4Collection, and IPv6Collection. == Loading the library == <syntaxhighlight lang="lua"> local IP = require('Module:IP') local IPAddress = IP.IPAddress local Subnet = IP.Subnet </syntaxhigh...' current
- 11:5911:59, 10 July 2026 diff hist +26,680 N Module:IP ←Created page with '-- IP library -- This library contains classes for working with IP addresses and IP ranges. -- Load modules require('strict') local bit32 = require('bit32') local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local makeCheckSelfFunction = libraryUtil.makeCheckSelfFunction -- Constants local V4 = 'IPv4' local V6 = 'IPv6' --------------------------...' current
- 11:5711:57, 10 July 2026 diff hist +1,729 N Module:Protect/doc ←Created page with '{{used in system}} This metamodule simplifies error handling in other modules. It transforms a function, which may throw an error, into a function, which returns a specified error message in that case. == Usage == <syntaxhighlight lang="lua"> local protect = require('Module:Protect') local protectedFunc = protect(func, errFormat, options) </syntaxhighlight> === Arguments === * ''{{code|func}}'' *: Function to be transformed....' current
- 11:5711:57, 10 July 2026 diff hist +836 N Module:Protect ←Created page with 'local function processResult(options, success, ...) if not success then local message = tostring(... or '(no message)') if options.removeLocation then message = string.gsub(message, '^Module:[^:]+:%d+: ', '', 1) end return string.format(options.errFormat, message) end return ... end local function protect(func, errFormat, options) if type(errFormat) == 'table' then options = options or errFormat errFormat = n...' current
- 11:5611:56, 10 July 2026 diff hist +1,012 N Module:CallAssert/doc ←Created page with '{{used in system}} This metamodule provides function '''callAssert''', which simplifies error checking by throwing an error if a given function returns nil or false. This is similar to the built-in function assert, but unlike it, callAssert itself calls the function, whose return value is to be checked. This allows it to include the function name and argument values in the error message. == Usage == local...' current
- 11:5611:56, 10 July 2026 diff hist +911 N Module:CallAssert ←Created page with 'local function pack(...) return {...}, select('#', ...) end local function mapArray(func, array, count) local result = {} for i = 1, count or #array do result[i] = func(array[i]) end return result end local function quote(value) if type(value) == 'string' then return (string.gsub(string.format('%q', value), '\\\n', '\\n')) -- Outer parentheses remove second value returned by gsub end local str = tostring(value) i...' current
- 11:5511:55, 10 July 2026 diff hist +6,296 N Module:Page/doc ←Created page with '{{used in system}} {{Lua|Module:CallAssert|Module:Protect}} This module is meant to allow the goodies listed in {{slink|mw:Extension:Scribunto/Lua reference manual#Title objects}} to be accessed by people who do not want to write a Lua module. Usage is: <code><nowiki>{{#invoke:Page|</nowiki>'''function'''|''parameters''<nowiki>}}</nowiki></code> == Functions== In the usage above, '''function''' is one of the following fields o...' current
- 11:5411:54, 10 July 2026 diff hist −3 Template:Redirect template/core No edit summary current
- 11:5311:53, 10 July 2026 diff hist +1 Template:Redirect template/core ←Redirected page to Template:Redirect template Tag: New redirect
- 11:5211:52, 10 July 2026 diff hist −177 Module:Redirect template rm non-working links current
- 11:5011:50, 10 July 2026 diff hist +761 Module:Redirect template No edit summary
- 11:4911:49, 10 July 2026 diff hist −100 Template:Slink ←Redirected page to Template:Section link current Tag: New redirect
- 11:4711:47, 10 July 2026 diff hist +195 N Template:Slink ←Created page with '<includeonly>{{SAFESUBST:<noinclude />#invoke:Section link|main}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>'
- 11:4511:45, 10 July 2026 diff hist +1,990 N Module:Page ←Created page with 'local callAssert = require('Module:CallAssert') local function main(frame, field) local args, pargs = frame.args, ( frame:getParent() or {} ).args or {} local makeTitle=args.makeTitle or pargs.makeTitle local namespace=args.namespace or pargs.namespace or "" local fragment=args.fragment or pargs.fragment or "" local interwiki=args.interwiki or pargs.interwiki or "" local page=args.page or args[1] or pargs.page or pargs[1]...' current
9 July 2026
- 23:1023:10, 9 July 2026 diff hist +3,868 Module:String/doc No edit summary current
- 23:1023:10, 9 July 2026 diff hist +84 N Template:Pf ←Redirected page to Template:ParserFunction current Tag: New redirect
- 23:0923:09, 9 July 2026 diff hist +5 Template:ParserFunction Point to Wikipedia for help current
- 23:0723:07, 9 July 2026 diff hist +3,543 N Template:ParserFunction/doc ←Created page with '{{Documentation subpage}}{{tsh|pf}} {{tl|Pf}} is used to conveniently '''wikilink''' to a ParserFunction, along the lines of {{tl|tl}}. == Usage == {{tlx|{{BASEPAGENAME}}|parser function}}, this creates a direct link to the relevant function, omit '''#''' and colon, e.g. use {{tlx|{{BASEPAGENAME}}|ifexpr}} to get {{{{BASEPAGENAME}}|ifexpr}}. {{tlx|{{BASEPAGENAME}}|parser function|1st parame...' current
- 23:0523:05, 9 July 2026 diff hist +1,317 N Template:ParserFunction ←Created page with '<includeonly>{{ #if: {{{_code|}}} | <code> }}{{((}}{{ #switch: {{lc: {{{1|if}}} }} | expr | if | ifeq | iferror | ifexpr | ifexist | rel2abs | switch | time | titleparts = if}}}}}|#{{{1|if}}} | lc | uc | lcfirst | ucfirst | urlencode | anchorencode | ns = {{{1}}} | language | bcp47 | dir | interwikilink | interlanguageli...'
- 23:0423:04, 9 July 2026 diff hist +67 N Template:Pval ←Redirected page to Template:Param value current Tag: New redirect
- 23:0223:02, 9 July 2026 diff hist +1,887 N Template:Str len/doc ←Created page with '{{Documentation subpage}} {{Lua|Module:String}} <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> This is the {{tl|str len}} meta-template. It takes a string as parameter and returns its length (excluding spaces at the start and end). It can now count as high as necessary. ===Examples=== If the parameter is empty or undefined it is considered to be of zero length: :<code><nowiki>{{str len}}</nowiki...' current
- 23:0123:01, 9 July 2026 diff hist +167 N Template:Str len ←Created page with '{{<includeonly>safesubst:</includeonly>#invoke:String|len|s={{{1|}}}}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>' current
- 22:5922:59, 9 July 2026 diff hist +183 N Template:Param value/styles.css ←Created page with '→{{pp-template}}: .tpl-pval__code { border: thin solid var(--border-color-base, #a2a9b1); background-color: var(--color-inverted, #fff); color: inherit; white-space: nowrap; }' current
- 22:5822:58, 9 July 2026 diff hist +687 N Template:Param value ←Created page with '<templatestyles src="Template:Param value/styles.css"/><span class="tpl-pval__wrapper"><code class="tpl-pval__code" style="{{#if:{{{border|{{{b|}}}}}}|border:{{{border|{{{b|}}}}}};}} {{#if:{{{bg-color|}}}|background-color: {{{bg-color}}}; color: {{Greater color contrast ratio|{{{bg-color}}}}};}} {{#if:{{{bg|}}}|color: {{Greater color contrast ratio|{{{bg}}}}};}} {{#ifexpr:{{str len|{{{1|}}}}} > 25|white-space: wrap;|}} {{{style|...' current
- 22:5522:55, 9 July 2026 diff hist +2,635 N Template:Module link/doc ←Created page with '{{Documentation subpage}} {{tsh|ml}}{{lua|Module:Separated entries}} Module link is used to display a module name as a link surrounded by braces with the {{((}}#invoke{{))}} parser function, thus showing the module name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a module by name without invoking it. It also supports the definition of a function and...' current
- 22:5422:54, 9 July 2026 diff hist +81 N Template:Ml ←Redirected page to Template:Module link current Tag: New redirect
- 22:5222:52, 9 July 2026 diff hist +303 N Template:Module link ←Created page with '<includeonly>{{{{{{{|safesubst:}}}#invoke:Separated entries|main|[[Module:{{{1}}}{{{section|}}}|#invoke:{{{1}}}]]|{{{2|''function''}}}|separator=|}}}}</includeonly><noinclude>{{documentation}}<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>' current
- 22:4522:45, 9 July 2026 diff hist +1,333 Module:String No edit summary current
- 22:4422:44, 9 July 2026 diff hist +718 Module:IPAddress Update to latest version current
- 22:4222:42, 9 July 2026 diff hist +6,199 N Module:Format link/doc ←Created page with '<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{used in system|in MediaWiki:Perfcachedts}} {{Lua|Module:Arguments|Module:Error|Module:Yesno}} This module, migrated from origins in Module:Hatnote, provides functionality for formatting links for display, including that powering the {{tl|format link}} template. It can pretty-format section links with the section symbol ("§")...' current
- 22:4122:41, 9 July 2026 diff hist +617 N Module:Urldecode/doc ←Created page with '== Functions == * Function ''urlDecode'' reverses the transformation by magic word <code><nowiki>{{urlencode:}}</nowiki></code>. :: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|urlDecode|C%C3%B4te+d%27Ivoire}}</nowiki></code> would produce <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-...' current
- 22:4022:40, 9 July 2026 diff hist +452 N Module:Urldecode ←Created page with 'local p = {} function p.urlDecode( frame ) local enctype = frame.args[2] local ret = nil; if (frame.args[2] ~= nil) then enctype = mw.ustring.upper(enctype) if ((enctype == "QUERY") or (enctype == "PATH") or (enctype == "WIKI")) then ret = mw.uri.decode(frame.args[1],frame.args[2]) end else ret = mw.uri.decode(frame.args[1]) end ret = string.gsub(ret, "{", "{") ret = string.gsub(ret, "}", "}") retu...' current
- 22:3922:39, 9 July 2026 diff hist +216 Template:Format link Update to latest version current
- 22:3122:31, 9 July 2026 diff hist +6,484 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. ------------------------------------------------------------------...' current