Module:Purge: Difference between revisions
From Test Wiki
Content deleted Content added
m 1 revision imported |
|||
| Line 30: | Line 30: | ||
-- Make the display |
-- Make the display |
||
local display |
local display |
||
if args.page then |
|||
| ⚫ | |||
display = args[1] or 'Purge' |
|||
else |
|||
| ⚫ | |||
display = mw.html.create('span') |
|||
| ⚫ | |||
:attr('title', 'Purge this page') |
|||
| ⚫ | |||
display = tostring(display) |
|||
end |
|||
-- Output the HTML |
-- Output the HTML |
||