Jump to content

Module:CountryData/cacheF: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Put the redirects all on the summary cache. *** existing text overwritten ***
Put the redirects all on the summary cache. *** existing text overwritten ***
Line 1: Line 1:
local CountryData = require('Module:CountryData')
local CountryData = require('Module:CountryData')
local pages = {'French Guiana', 'Friesland', 'FR Yugoslavia', 'French Southern and Antarctic Lands', 'Florida', 'Flanders', 'Federated States of Micronesia', 'Faroe Islands', 'Falkland Islands', 'Fiji', 'Free France', 'Flemish Brabant', 'French First Republic', 'French Polynesia', 'Federation of Bosnia and Herzegovina', 'France', 'French Third Republic', 'Finland'}
local pages = {'FR Yugoslavia', 'Falkland Islands', 'Faroe Islands', 'Federated States of Micronesia', 'Federation of Bosnia and Herzegovina', 'Fiji', 'Finland', 'Flanders', 'Flemish Brabant', 'Florida', 'France', 'Free France', 'French First Republic', 'French Guiana', 'French Polynesia', 'French Southern and Antarctic Lands', 'French Third Republic', 'Friesland'}
local p = {
local p = {
data = {}
data = {}

Revision as of 20:17, 3 May 2021

local CountryData = require('Module:CountryData')
local pages = {'FR Yugoslavia', 'Falkland Islands', 'Faroe Islands', 'Federated States of Micronesia', 'Federation of Bosnia and Herzegovina', 'Fiji', 'Finland', 'Flanders', 'Flemish Brabant', 'Florida', 'France', 'Free France', 'French First Republic', 'French Guiana', 'French Polynesia', 'French Southern and Antarctic Lands', 'French Third Republic', 'Friesland'}
local p = {
	data = {}
}
local frame = mw.getCurrentFrame()

for _,v in ipairs(pages) do
	p.data[v] = CountryData.gettable(frame, v, {})
end

return p