You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Module:DeployItem

From Wikitech-static
Jump to navigation Jump to search
Patch 123 foo 1.24wmf6

local p = {}

function p.patch( frame )
	local patches = frame.args['patches'] or "What are you changing? (must provide 'patches=')"
	local desc = frame.args['desc'] or "What is this? (must provide 'desc=')"
	local targets = frame.args['targets'] or "What branch/repo are you touching? (must provide 'targets=')"

    return string.format( '<div class="deployitem deployitem-patch"><span class="deployitem-type">Patch</span> <span class="deployitem-patches">%s</span> <span class="deployitem-desc">%s</span> <span class="deployitem-targets">%s</span></div>',
    	patches, desc, targets )
end

return p