"मोड्युल:Article history/config" का संशोधनहरू बिचको अन्तर
Content deleted Content added
add comments for the helper functions |
redo makeTitle as titleExists, as checking title.exists is now the expensive part |
||
पङ्क्ति ६४:
end
-- Returns true if the given page is an existing title, and false or nil
-- otherwise
local function
local success, title = pcall(mw.title.new, page)
end
Line १,६६७ ⟶ १,६६६:
return nil
end
local raPage = 'Wikipedia:Recent additions/' ..
if not titleExists(raPage) then
▲ raPage = 'Wikipedia:Recent additions'
end
local blurb = string.format(
|