Jump to content

Eftirlitssøgan hjá "Module:Delink"

Frágreiðing: (nú) = munur til núverandi útgávu, (síðst) = munur til síðsta útgávu, m = minni rættingar

7. des 2022

  • síðst 23:507. des 2022 kl. 23:50 EileenSanda kjak íkøst 7.111 být +7.111 Stovnaði síðu við "-- This module de-links most wikitext. require("strict") 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:match("%[..."