Enter a page name to see changes on pages linked to or from that page. (To see members of a category, enter Category:Name of category). Changes to pages on your Watchlist are in bold.
List of abbreviations:
- N
- This edit created a new page (also see list of new pages)
- m
- This is a minor edit
- b
- This edit was performed by a bot
- (±123)
- The page size changed by this number of bytes
28 June 2025
N 07:48 | Template:Replace/doc diffhist +741 Mnooseman talk contribs (Created page with "{{documentation header}} {{lua}} Performs multiple text replacement on a string. Replacer term is [https://www.lua.org/pil/20.1.html pseudo-regex]. ==Examples== : This... is a string! : {{tl|replace|<nowiki>This... is a string!| is = was | string = template parameter | . = ! </nowiki>}} :: {{replace|This... is a string!| is = was | string = template parameter | ! = ? }} : {{tl|replace|<nowiki>This... is a string! | [A-Z] = X | [a-z] = _ | [!.] = ^ </nowiki>}} :: {{repl...") |
N 07:46 | Module:Replace diffhist +470 Mnooseman talk contribs (Created page with "local p = {} function p.replace( f ) local raw_args = f:getParent().args local args = require("Module:ProcessArgs").norm(raw_args) local text = args[1] or '' if text == '' then return text end -- loop through raw args so we keep empty replacements (like `|str=`) intact for k, v in pairs(raw_args) do if k ~= 1 then local value = args[k] or '' -- get normalised arg value text = text:gsub(k, value) end end return text end return p") |