https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ACountryData%2FcacheN
Module:CountryData/cacheN - Revision history
2025-05-27T18:48:33Z
Revision history for this page on the wiki
MediaWiki 1.45.0-wmf.2
https://en.wikipedia.org/w/index.php?title=Module:CountryData/cacheN&diff=1021633720&oldid=prev
GKFX: Re-arrange cache data by popularity
2021-05-05T20:07:59Z
<p>Re-arrange cache data by popularity</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:07, 5 May 2021</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local CountryData = require('Module:CountryData')</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local CountryData = require('Module:CountryData')</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>local pages = {'Andorra', 'European_Union', 'Florida', 'Gabon', 'Kosovo', 'Laos', 'Macau', 'Republic_of_the_Congo', 'Samoa', 'Sudan', 'Turkmenistan', 'Yemen'}</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>local pages = {'NATO', 'Namibia', 'Namur', 'Nauru', 'Nazi Germany', 'Nebraska', 'Negeri Sembilan', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'Nevada', 'New Brunswick', 'New Caledonia', 'New Hampshire', 'New Jersey', 'New Mexico', 'New Orleans', 'New South Wales', 'New York (state)', 'New York City', 'New Zealand', 'Newfoundland and Labrador', 'Newfoundland', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'North Carolina', 'North Dakota', 'North Korea', 'North Macedonia', 'North Vietnam', 'North Yemen', 'Northern Cyprus', 'Northern Ireland', 'Northern Mariana Islands', 'Northern Ontario', 'Northern Territory', 'Northwest Territories', 'Norway', 'Nottinghamshire', 'Nova Scotia', 'Novorossiya', 'Nunavut'}</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>data = {}</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>data = {}</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local frame = mw.getCurrentFrame()</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local frame = mw.getCurrentFrame()</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>for _,v in ipairs(pages) do</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>for _,v in ipairs(pages) do</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>p.data[v] = CountryData.gettable(frame, v, {})</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>p.data[v] = CountryData.gettable(frame, v, {})</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
</table>
GKFX
https://en.wikipedia.org/w/index.php?title=Module:CountryData/cacheN&diff=1021271452&oldid=prev
GKFX: Put the redirects all on the summary cache. *** existing text overwritten ***
2021-05-03T20:18:31Z
<p>Put the redirects all on the summary cache. *** existing text overwritten ***</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:18, 3 May 2021</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local CountryData = require('Module:CountryData')</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local CountryData = require('Module:CountryData')</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>local <del style="font-weight: bold; text-decoration: none;">redirects</del> = {<del style="font-weight: bold; text-decoration: none;">NLD=</del>'<del style="font-weight: bold; text-decoration: none;">Netherlands</del>', <del style="font-weight: bold; text-decoration: none;">NAM=</del>'Namibia', <del style="font-weight: bold; text-decoration: none;">NCL=</del>'New Caledonia', <del style="font-weight: bold; text-decoration: none;">NZL=</del>'New <del style="font-weight: bold; text-decoration: none;">Zealand</del>', <del style="font-weight: bold; text-decoration: none;">NIC=</del>'<del style="font-weight: bold; text-decoration: none;">Nicaragua</del>', <del style="font-weight: bold; text-decoration: none;">NGA=</del>'<del style="font-weight: bold; text-decoration: none;">Nigeria</del>', <del style="font-weight: bold; text-decoration: none;">NOR=</del>'<del style="font-weight: bold; text-decoration: none;">Norway</del>', <del style="font-weight: bold; text-decoration: none;">NED=</del>'<del style="font-weight: bold; text-decoration: none;">Netherlands</del>', <del style="font-weight: bold; text-decoration: none;">NEP=</del>'<del style="font-weight: bold; text-decoration: none;">Nepal</del>', <del style="font-weight: bold; text-decoration: none;">NIG=</del>'<del style="font-weight: bold; text-decoration: none;">Niger</del>', <del style="font-weight: bold; text-decoration: none;">NIR=</del>'<del style="font-weight: bold; text-decoration: none;">Northern</del> <del style="font-weight: bold; text-decoration: none;">Ireland</del>', <del style="font-weight: bold; text-decoration: none;">NGR=</del>'<del style="font-weight: bold; text-decoration: none;">Nigeria</del>', <del style="font-weight: bold; text-decoration: none;">NCA=</del>'Nicaragua', <del style="font-weight: bold; text-decoration: none;">NZ=</del>'<del style="font-weight: bold; text-decoration: none;">New</del> <del style="font-weight: bold; text-decoration: none;">Zealand</del>', <del style="font-weight: bold; text-decoration: none;">[</del>'<del style="font-weight: bold; text-decoration: none;">Nagorno-Karabakh</del>'<del style="font-weight: bold; text-decoration: none;">]=</del>'<del style="font-weight: bold; text-decoration: none;">Republic</del> <del style="font-weight: bold; text-decoration: none;">of</del> <del style="font-weight: bold; text-decoration: none;">Artsakh</del>', <del style="font-weight: bold; text-decoration: none;">[</del>'North <del style="font-weight: bold; text-decoration: none;">Cyprus</del>'<del style="font-weight: bold; text-decoration: none;">]=</del>'Northern Cyprus', <del style="font-weight: bold; text-decoration: none;">NMI=</del>'Northern Mariana Islands', <del style="font-weight: bold; text-decoration: none;">NL=</del>'<del style="font-weight: bold; text-decoration: none;">Newfoundland</del> <del style="font-weight: bold; text-decoration: none;">and Labrador</del>', <del style="font-weight: bold; text-decoration: none;">[</del>'<del style="font-weight: bold; text-decoration: none;">New</del> <del style="font-weight: bold; text-decoration: none;">York</del>'<del style="font-weight: bold; text-decoration: none;">]=</del>'<del style="font-weight: bold; text-decoration: none;">New</del> <del style="font-weight: bold; text-decoration: none;">York</del> <del style="font-weight: bold; text-decoration: none;">(state)</del>', <del style="font-weight: bold; text-decoration: none;">[</del>'<del style="font-weight: bold; text-decoration: none;">Nagorno-Karabakh</del> <del style="font-weight: bold; text-decoration: none;">Republic</del>'<del style="font-weight: bold; text-decoration: none;">]=</del>'<del style="font-weight: bold; text-decoration: none;">Republic</del> <del style="font-weight: bold; text-decoration: none;">of</del> <del style="font-weight: bold; text-decoration: none;">Artsakh</del>'}</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>local <ins style="font-weight: bold; text-decoration: none;">pages</ins> = {'<ins style="font-weight: bold; text-decoration: none;">NATO</ins>', 'Namibia', <ins style="font-weight: bold; text-decoration: none;">'Namur', 'Nauru', 'Nazi Germany', 'Nebraska', 'Negeri Sembilan', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'Nevada', 'New Brunswick', </ins>'New Caledonia', 'New <ins style="font-weight: bold; text-decoration: none;">Hampshire</ins>', '<ins style="font-weight: bold; text-decoration: none;">New Jersey</ins>', '<ins style="font-weight: bold; text-decoration: none;">New Mexico</ins>', '<ins style="font-weight: bold; text-decoration: none;">New Orleans</ins>', '<ins style="font-weight: bold; text-decoration: none;">New South Wales</ins>', '<ins style="font-weight: bold; text-decoration: none;">New York (state)</ins>', '<ins style="font-weight: bold; text-decoration: none;">New York City</ins>', '<ins style="font-weight: bold; text-decoration: none;">New</ins> <ins style="font-weight: bold; text-decoration: none;">Zealand</ins>', '<ins style="font-weight: bold; text-decoration: none;">Newfoundland and Labrador', 'Newfoundland</ins>', 'Nicaragua', '<ins style="font-weight: bold; text-decoration: none;">Niger',</ins> <ins style="font-weight: bold; text-decoration: none;">'Nigeria</ins>', '<ins style="font-weight: bold; text-decoration: none;">Niue</ins>'<ins style="font-weight: bold; text-decoration: none;">, </ins>'<ins style="font-weight: bold; text-decoration: none;">Norfolk</ins> <ins style="font-weight: bold; text-decoration: none;">Island',</ins> <ins style="font-weight: bold; text-decoration: none;">'North Carolina</ins>', 'North <ins style="font-weight: bold; text-decoration: none;">Dakota</ins>'<ins style="font-weight: bold; text-decoration: none;">, 'North Korea', 'North Macedonia', 'North Vietnam', 'North Yemen', </ins>'Northern Cyprus', <ins style="font-weight: bold; text-decoration: none;">'Northern Ireland', </ins>'Northern Mariana Islands', '<ins style="font-weight: bold; text-decoration: none;">Northern</ins> <ins style="font-weight: bold; text-decoration: none;">Ontario</ins>', '<ins style="font-weight: bold; text-decoration: none;">Northern</ins> <ins style="font-weight: bold; text-decoration: none;">Territory</ins>'<ins style="font-weight: bold; text-decoration: none;">, </ins>'<ins style="font-weight: bold; text-decoration: none;">Northwest</ins> <ins style="font-weight: bold; text-decoration: none;">Territories',</ins> <ins style="font-weight: bold; text-decoration: none;">'Norway</ins>', '<ins style="font-weight: bold; text-decoration: none;">Nottinghamshire',</ins> '<ins style="font-weight: bold; text-decoration: none;">Nova Scotia</ins>'<ins style="font-weight: bold; text-decoration: none;">,</ins> <ins style="font-weight: bold; text-decoration: none;">'Novorossiya',</ins> <ins style="font-weight: bold; text-decoration: none;">'Nunavut</ins>'}</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>local pages = {'Northern Ireland', 'Newfoundland', 'Negeri Sembilan', 'New Zealand', 'Nova Scotia', 'North Macedonia', 'Namur', 'Northern Cyprus', 'Northern Territory', 'Niger', 'Norway', 'New Caledonia', 'Nicaragua', 'Novorossiya', 'North Korea', 'New Hampshire', 'Nottinghamshire', 'Northern Ontario', 'North Dakota', 'Newfoundland and Labrador', 'New Orleans', 'Nigeria', 'North Vietnam', 'North Carolina', 'Northern Mariana Islands', 'Niue', 'New Brunswick', 'Netherlands', 'Nebraska', 'Nevada', 'Nepal', 'New South Wales', 'Nauru', 'New Jersey', 'Nazi Germany', 'NATO', 'New York (state)', 'New York City', 'Norfolk Island', 'North Yemen', 'New Mexico', 'Northwest Territories', 'Namibia', 'Netherlands Antilles', 'Nunavut'}</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> redirects = redirects,</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> data = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> data = {}</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td>
</tr>
</table>
GKFX
https://en.wikipedia.org/w/index.php?title=Module:CountryData/cacheN&diff=1021262282&oldid=prev
GKFX: Add loadData-compatible modules to cache the content of the most-used country data
2021-05-03T19:24:45Z
<p>Add loadData-compatible modules to cache the content of the most-used country data</p>
<p><b>New page</b></p><div>local CountryData = require('Module:CountryData')<br />
local redirects = {NLD='Netherlands', NAM='Namibia', NCL='New Caledonia', NZL='New Zealand', NIC='Nicaragua', NGA='Nigeria', NOR='Norway', NED='Netherlands', NEP='Nepal', NIG='Niger', NIR='Northern Ireland', NGR='Nigeria', NCA='Nicaragua', NZ='New Zealand', ['Nagorno-Karabakh']='Republic of Artsakh', ['North Cyprus']='Northern Cyprus', NMI='Northern Mariana Islands', NL='Newfoundland and Labrador', ['New York']='New York (state)', ['Nagorno-Karabakh Republic']='Republic of Artsakh'}<br />
local pages = {'Northern Ireland', 'Newfoundland', 'Negeri Sembilan', 'New Zealand', 'Nova Scotia', 'North Macedonia', 'Namur', 'Northern Cyprus', 'Northern Territory', 'Niger', 'Norway', 'New Caledonia', 'Nicaragua', 'Novorossiya', 'North Korea', 'New Hampshire', 'Nottinghamshire', 'Northern Ontario', 'North Dakota', 'Newfoundland and Labrador', 'New Orleans', 'Nigeria', 'North Vietnam', 'North Carolina', 'Northern Mariana Islands', 'Niue', 'New Brunswick', 'Netherlands', 'Nebraska', 'Nevada', 'Nepal', 'New South Wales', 'Nauru', 'New Jersey', 'Nazi Germany', 'NATO', 'New York (state)', 'New York City', 'Norfolk Island', 'North Yemen', 'New Mexico', 'Northwest Territories', 'Namibia', 'Netherlands Antilles', 'Nunavut'}<br />
local p = {<br />
redirects = redirects,<br />
data = {}<br />
}<br />
local frame = mw.getCurrentFrame()<br />
<br />
for _,v in ipairs(pages) do<br />
p.data[v] = CountryData.gettable(frame, v, {})<br />
end<br />
<br />
return p</div>
GKFX