221 bytes added
, 08:00, 16 July 2021
-- This module finds the next ID to be used in the list of ads.
local LIST_MODULE = 'Module:Wikipedia ads/list'
local p = {}
function p.main()
local list = require(LIST_MODULE)
return list[#list].id + 1
end
return p