Jump to content

Module:User:SDZeroBot/Purge list

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SD0001 (talk | contribs) at 12:24, 1 January 2024 (Created page with 'local getArgs = require('Module:Arguments').getArgs local p = {} p.entry = function (frame) local args = getArgs(frame) local link = args[1]:sub(1, 2) == '[[' and args[1] or ('[[' .. args[1] .. ']]') return '* ' .. link .. (args.interval and ' (every '..args.interval..' days)' or '') .. (args.forcerecursivelinkupdate and ' <abbr title="with recursive link update">R</abbr>' or (args.forcelinkupdate and ' <abbr title="with link update">L</abbr>' o...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local getArgs = require('Module:Arguments').getArgs
local p = {}

p.entry = function (frame)
	local args = getArgs(frame)
	local link = args[1]:sub(1, 2) == '[[' and args[1] or ('[[' .. args[1] .. ']]')
	return '* ' .. link .. 
		(args.interval and ' (every '..args.interval..' days)' or '') ..
		(args.forcerecursivelinkupdate and ' <abbr title="with recursive link update">R</abbr>'
			or (args.forcelinkupdate and ' <abbr title="with link update">L</abbr>' or '')
		)
end

return p