View source for Module:Wikipedia ads/data
MyWikiBiz, Author Your Legacy — Saturday July 26, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- This module transforms [[Module:Wikipedia ads/list]] into a format to be
-- used by mw.loadData.
local LIST_MODULE = 'Module:Wikipedia ads/list'
local list = require(LIST_MODULE)
local ids = {}
for i, t in ipairs(list) do
assert(t.id, string.format(
"no 'id' field in table %d in [[%s]]",
i, LIST_MODULE
))
ids[t.id] = t
end
return {list = list, ids = ids, noAds = #list}
000
1:0
Template used on this page:
Return to Module:Wikipedia ads/data.