Difference between revisions of "Module:LatestAfD"
Jump to navigation
Jump to search
blackwiki>Swpb |
blackwiki>Swpb |
||
| Line 4: | Line 4: | ||
local page = frame.args[1] | local page = frame.args[1] | ||
| − | + | page_string = "Wikipedia:Articles for deletion/" .. page .. "" | |
| − | + | page_title = mw.title.new(page_string) | |
| − | output = | + | output = page_title.exists |
return output | return output | ||
Revision as of 17:35, 30 May 2017
local p = {}
function p.latestafd(frame)
local page = frame.args[1]
page_string = "Wikipedia:Articles for deletion/" .. page .. ""
page_title = mw.title.new(page_string)
output = page_title.exists
return output
end
return p