Module:Delink: Revision history

Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.

23 October 2022

17 November 2021

  • curprev 18:2618:26, 17 November 2021Back ache talk contribs 7,122 bytes +7,122 Created page with "-- This module de-links most wikitext. require("Module:No globals") local p = {} local getArgs local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes. return s end return s:match("%[%[|(.*)%]%]") end local function delinkPipeTrick(s) -- We need to deal with colons, brackets, and commas, per Help:Pipe trick. -- First, remove the text before the first colon, if any. if s:match(":") then s = s:ma..."