Module:Purge: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
 
 
Line 30: Line 30:
-- Make the display
-- Make the display
local display = mw.html.create('span')
local display
display
if args.page then
:attr('title', 'Purge this page')
display = args[1] or 'Purge'
:wikitext(args[1] or 'Purge')
else
display = tostring(display)
display = mw.html.create('span')
display
:attr('title', 'Purge this page')
:wikitext(args[1] or 'Purge')
display = tostring(display)
end
-- Output the HTML
-- Output the HTML
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu