<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AFind_country</id>
	<title>Module:Find country - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AFind_country"/>
	<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Find_country&amp;action=history"/>
	<updated>2026-05-14T03:30:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Find_country&amp;diff=24831&amp;oldid=prev</id>
		<title>Kurt: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Find_country&amp;diff=24831&amp;oldid=prev"/>
		<updated>2022-10-26T20:29:09Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:29, 26 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Find_country&amp;diff=24830&amp;oldid=prev</id>
		<title>en&gt;Neveselbert: 'US', 	'U.S.',</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Module:Find_country&amp;diff=24830&amp;oldid=prev"/>
		<updated>2022-08-09T10:48:32Z</updated>

		<summary type="html">&lt;p&gt;&amp;#039;US&amp;#039;, 	&amp;#039;U.S.&amp;#039;,&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[ v1.00&lt;br /&gt;
     Test the string against the list of countries/continents.&lt;br /&gt;
     Return the first word which matches a country/continent name ...&lt;br /&gt;
     unless the &amp;quot;match=&amp;quot; parameter specifies a different match.&lt;br /&gt;
     If there is no match, then return an empty string ... unless&lt;br /&gt;
     the &amp;quot;nomatch&amp;quot; parameter specifies something different&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local getArgs = require('Module:Arguments').getArgs&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- config&lt;br /&gt;
local nomatch = &amp;quot;&amp;quot;&lt;br /&gt;
local matchnum = 1&lt;br /&gt;
&lt;br /&gt;
local countryList = {&lt;br /&gt;
	'South Africa',&lt;br /&gt;
	'the Central African Republic',&lt;br /&gt;
	'Central African Republic',	&lt;br /&gt;
	'Africa',&lt;br /&gt;
	'Antarctica',&lt;br /&gt;
	'Central Asia',&lt;br /&gt;
	'South Asia',&lt;br /&gt;
	'South East Asia',&lt;br /&gt;
	'Southeast Asia',&lt;br /&gt;
	'Asia',&lt;br /&gt;
	'the Caribbean',&lt;br /&gt;
	'Caribbean',&lt;br /&gt;
	'Eurasia',&lt;br /&gt;
	'Europe',&lt;br /&gt;
	'the Middle East',&lt;br /&gt;
	'Middle East',&lt;br /&gt;
	'Central America',&lt;br /&gt;
	'North America',&lt;br /&gt;
	'South America',&lt;br /&gt;
	'Oceania',&lt;br /&gt;
	'the Americas',&lt;br /&gt;
	'Afghanistan',&lt;br /&gt;
	'Albania',&lt;br /&gt;
	'Algeria',&lt;br /&gt;
	'American Samoa',&lt;br /&gt;
	'Andorra',&lt;br /&gt;
	'Angola',&lt;br /&gt;
	'Anguilla',&lt;br /&gt;
	'Antigua and Barbuda',&lt;br /&gt;
	'Argentina',&lt;br /&gt;
	'Armenia',&lt;br /&gt;
	'Aruba',&lt;br /&gt;
	'Australia',&lt;br /&gt;
	'the Austrian Empire',&lt;br /&gt;
	'Austrian Empire',	&lt;br /&gt;
	'Austria-Hungary',&lt;br /&gt;
	'Austria',&lt;br /&gt;
	'Azerbaijan',&lt;br /&gt;
	'the Bahamas',&lt;br /&gt;
	'Bahamas',&lt;br /&gt;
	'Bahrain',&lt;br /&gt;
	'Bangladesh',&lt;br /&gt;
	'Barbados',&lt;br /&gt;
	'Belarus',&lt;br /&gt;
	'Belgium',&lt;br /&gt;
	'Belize',&lt;br /&gt;
	'Benin',&lt;br /&gt;
	'Bermuda',&lt;br /&gt;
	'Bhutan',&lt;br /&gt;
	'Bolivia',&lt;br /&gt;
	'Bosnia and Herzegovina',&lt;br /&gt;
	'Botswana',&lt;br /&gt;
	'Brazil',&lt;br /&gt;
	'Brunei Darussalam',&lt;br /&gt;
	'Brunei',&lt;br /&gt;
	'Bulgaria',&lt;br /&gt;
	'Burkina Faso',&lt;br /&gt;
	'Burundi',&lt;br /&gt;
	'Cambodia',&lt;br /&gt;
	'Cameroon',&lt;br /&gt;
	'Canada',&lt;br /&gt;
	'Cape Verde',&lt;br /&gt;
	'the Cayman Islands',&lt;br /&gt;
	'Cayman Islands',&lt;br /&gt;
	'Chad',&lt;br /&gt;
	'Chile',&lt;br /&gt;
	&amp;quot;the People's Republic of China&amp;quot;,&lt;br /&gt;
	&amp;quot;People's Republic of China&amp;quot;,&lt;br /&gt;
	'China PR',&lt;br /&gt;
	'PR China',&lt;br /&gt;
	'China',&lt;br /&gt;
	'Colombia',&lt;br /&gt;
	'Comoros',&lt;br /&gt;
	'the Republic of the Congo',&lt;br /&gt;
	'the Democratic Republic of the Congo',&lt;br /&gt;
	'Democratic Republic of the Congo',&lt;br /&gt;
	'Congo DR',&lt;br /&gt;
	'DR Congo',&lt;br /&gt;
	'DRC',	&lt;br /&gt;
	'the Congo',&lt;br /&gt;
	'Congo',&lt;br /&gt;
	'Cook Islands',&lt;br /&gt;
	'Costa Rica',&lt;br /&gt;
	'Croatia',&lt;br /&gt;
	'Cuba',&lt;br /&gt;
	'Curaçao',&lt;br /&gt;
	'Curacao',&lt;br /&gt;
	'Cyprus',&lt;br /&gt;
	'the Czech Republic',&lt;br /&gt;
	'Czech Republic',&lt;br /&gt;
	'Czechia',&lt;br /&gt;
	'Denmark',&lt;br /&gt;
	'Djibouti',&lt;br /&gt;
	'the Dominican Republic',&lt;br /&gt;
	'Dominican Republic',&lt;br /&gt;
	'Dominica',&lt;br /&gt;
	'East Timor',&lt;br /&gt;
	'Timor-Leste',&lt;br /&gt;
	'Ecuador',&lt;br /&gt;
	'Egypt',&lt;br /&gt;
	'El Salvador',&lt;br /&gt;
	'England',&lt;br /&gt;
	'Eritrea',&lt;br /&gt;
	'Estonia',&lt;br /&gt;
	'Eswatini',	&lt;br /&gt;
	'Ethiopia',&lt;br /&gt;
	'the Falkland Islands',&lt;br /&gt;
	'Falkland Islands',&lt;br /&gt;
	'the Faroe Islands',&lt;br /&gt;
	'Faroe Islands',&lt;br /&gt;
	'Fiji',&lt;br /&gt;
	'Finland',&lt;br /&gt;
	'France',&lt;br /&gt;
	'Gabon',&lt;br /&gt;
	'the Gambia',&lt;br /&gt;
	'Gambia',&lt;br /&gt;
	'Georgia',&lt;br /&gt;
	'Germany',&lt;br /&gt;
	'Ghana',&lt;br /&gt;
	'Gibraltar',&lt;br /&gt;
	'Great Britain',&lt;br /&gt;
	'Britain',&lt;br /&gt;
	'Greece',&lt;br /&gt;
	'Grenada',&lt;br /&gt;
	'Guam',&lt;br /&gt;
	'Guatemala',&lt;br /&gt;
	'Papua New Guinea',	&lt;br /&gt;
	'Equatorial Guinea',	&lt;br /&gt;
	'Guinea-Bissau',&lt;br /&gt;
	'Guinea',&lt;br /&gt;
	'Guyana',&lt;br /&gt;
	'Haiti',&lt;br /&gt;
	'Honduras',&lt;br /&gt;
	'Hong Kong',&lt;br /&gt;
	'Hungary',&lt;br /&gt;
	'Iceland',&lt;br /&gt;
	'India',&lt;br /&gt;
	'Indonesia',&lt;br /&gt;
	'Iran',&lt;br /&gt;
	'Iraq',&lt;br /&gt;
	'Northern Ireland',	&lt;br /&gt;
	'the Republic of Ireland',&lt;br /&gt;
	'Republic of Ireland',&lt;br /&gt;
	'Ireland',&lt;br /&gt;
	'Israel',&lt;br /&gt;
	'Italy',&lt;br /&gt;
	'Ivory Coast',&lt;br /&gt;
	&amp;quot;Côte d'Ivoire&amp;quot;,&lt;br /&gt;
	'Jamaica',&lt;br /&gt;
	'Japan',&lt;br /&gt;
	'Jordan',&lt;br /&gt;
	'Kazakhstan',&lt;br /&gt;
	'Kenya',&lt;br /&gt;
	'Kiribati',&lt;br /&gt;
	'Kosovo',&lt;br /&gt;
	'the Republic of Kosovo',&lt;br /&gt;
	'Republic of Kosovo',&lt;br /&gt;
	'Kuwait',&lt;br /&gt;
	'Kyrgyzstan',&lt;br /&gt;
	'the Kyrgyz Republic',&lt;br /&gt;
	'Kyrgyz Republic',&lt;br /&gt;
	&amp;quot;the Lao People's Democratic Republic&amp;quot;,&lt;br /&gt;
	&amp;quot;Lao People's Democratic Republic&amp;quot;,&lt;br /&gt;
	'Laos',&lt;br /&gt;
	'Latvia',&lt;br /&gt;
	'Lebanon',&lt;br /&gt;
	'Lesotho',&lt;br /&gt;
	'Liberia',&lt;br /&gt;
	'Libya',&lt;br /&gt;
	'Liechtenstein',&lt;br /&gt;
	'Lithuania',&lt;br /&gt;
	'Luxembourg',&lt;br /&gt;
	'Macau',&lt;br /&gt;
	'the Republic of Macedonia',&lt;br /&gt;
	'Republic of Macedonia',&lt;br /&gt;
	'North Macedonia',&lt;br /&gt;
	'Macedonia',&lt;br /&gt;
	'Madagascar',&lt;br /&gt;
	'Malawi',&lt;br /&gt;
	'Malaysia',&lt;br /&gt;
	'the Maldives',&lt;br /&gt;
	'Maldives',&lt;br /&gt;
	'Mali',&lt;br /&gt;
	'Malta',&lt;br /&gt;
	'the Marshall Islands',&lt;br /&gt;
	'Marshall Islands',&lt;br /&gt;
	'Mauritania',&lt;br /&gt;
	'Mauritius',&lt;br /&gt;
	'Mexico',&lt;br /&gt;
	'the Federated States of Micronesia',&lt;br /&gt;
	'Federated States of Micronesia',&lt;br /&gt;
	'Micronesia',&lt;br /&gt;
	'FSM',&lt;br /&gt;
	'Moldova',&lt;br /&gt;
	'Monaco',&lt;br /&gt;
	'Mongolia',&lt;br /&gt;
	'Montenegro',&lt;br /&gt;
	'Montserrat',&lt;br /&gt;
	'Morocco',&lt;br /&gt;
	'Mozambique',&lt;br /&gt;
	'Myanmar',&lt;br /&gt;
	'Namibia',&lt;br /&gt;
	'Nauru',&lt;br /&gt;
	'Nepal',&lt;br /&gt;
	'the Netherlands',&lt;br /&gt;
	'Netherlands',&lt;br /&gt;
	'New Caledonia',&lt;br /&gt;
	'New Zealand',&lt;br /&gt;
	'Nicaragua',&lt;br /&gt;
	'Nigeria',&lt;br /&gt;
	'Niger',&lt;br /&gt;
	'North Korea',&lt;br /&gt;
	&amp;quot;the People's Democratic Republic of Korea&amp;quot;,&lt;br /&gt;
	&amp;quot;the Democratic People's Republic of Korea&amp;quot;,&lt;br /&gt;
	&amp;quot;Democratic People's Republic of Korea&amp;quot;,&lt;br /&gt;
	&amp;quot;People's Democratic Republic of Korea&amp;quot;,&lt;br /&gt;
	'DPR Korea',&lt;br /&gt;
	'Korea DPR',&lt;br /&gt;
	'Norway',&lt;br /&gt;
	'Oman',&lt;br /&gt;
	'the Ottoman Empire',&lt;br /&gt;
	'Ottoman Empire',&lt;br /&gt;
	'Ottoman Egypt',	&lt;br /&gt;
	'Pakistan',&lt;br /&gt;
	'Palau',&lt;br /&gt;
	'Mandatory Palestine',&lt;br /&gt;
	'Palestine',&lt;br /&gt;
	'the Palestinian territories',&lt;br /&gt;
	'Palestinian territories',&lt;br /&gt;
	'Panama',&lt;br /&gt;
	'Paraguay',&lt;br /&gt;
	'Peru',&lt;br /&gt;
	'the Philippines',&lt;br /&gt;
	'Philippines',&lt;br /&gt;
	'Poland',&lt;br /&gt;
	'Portugal',&lt;br /&gt;
	'Puerto Rico',&lt;br /&gt;
	'the Spanish Virgin Islands',&lt;br /&gt;
	'Spanish Virgin Islands',&lt;br /&gt;
	'Qatar',&lt;br /&gt;
	'Romania',&lt;br /&gt;
	'the Russian Empire',&lt;br /&gt;
	'Russian Empire',&lt;br /&gt;
	'the Russian Federation',&lt;br /&gt;
	'Russian Federation',&lt;br /&gt;
	'Russia',&lt;br /&gt;
	'Rwanda',&lt;br /&gt;
	'Saint Kitts and Nevis',&lt;br /&gt;
	'Saint Lucia',&lt;br /&gt;
	'Saint Vincent and the Grenadines',&lt;br /&gt;
	'Western Samoa',&lt;br /&gt;
	'Samoa',&lt;br /&gt;
	'San Marino',&lt;br /&gt;
	'São Tomé and Príncipe',&lt;br /&gt;
	'São Tomé and Príncipe',&lt;br /&gt;
	'Sao Tome and Principe',&lt;br /&gt;
	'Saudi Arabia',&lt;br /&gt;
	'Scotland',&lt;br /&gt;
	'Senegal',&lt;br /&gt;
	'Serbia',&lt;br /&gt;
	'Seychelles',&lt;br /&gt;
	'Sierra Leone',&lt;br /&gt;
	'Singapore',&lt;br /&gt;
	'Slovakia',&lt;br /&gt;
	'Slovenia',&lt;br /&gt;
	'the Solomon Islands',&lt;br /&gt;
	'Solomon Islands',&lt;br /&gt;
	'Somalia',&lt;br /&gt;
	'South Korea',&lt;br /&gt;
	'the Republic of Korea',&lt;br /&gt;
	'Korea Republic',&lt;br /&gt;
	'South Sudan',&lt;br /&gt;
	'Sudan',&lt;br /&gt;
	'Spain',&lt;br /&gt;
	'Sri Lanka',&lt;br /&gt;
	'Suriname',&lt;br /&gt;
	'Swaziland',&lt;br /&gt;
	'Sweden',&lt;br /&gt;
	'Switzerland',&lt;br /&gt;
	'Syria',&lt;br /&gt;
	'Tahiti',&lt;br /&gt;
	'the Republic of China',&lt;br /&gt;
	'Republic of China',&lt;br /&gt;
	'Taiwan',&lt;br /&gt;
	'Tajikistan',&lt;br /&gt;
	'Tanzania',&lt;br /&gt;
	'Thailand',&lt;br /&gt;
	'Togo',&lt;br /&gt;
	'Tonga',&lt;br /&gt;
	'Trinidad and Tobago',&lt;br /&gt;
	'Trinidad',&lt;br /&gt;
	'Tobago',&lt;br /&gt;
	'Tunisia',&lt;br /&gt;
	'Turkey',&lt;br /&gt;
	'Turkmenistan',&lt;br /&gt;
	'Turks and Caicos Islands',&lt;br /&gt;
	'Tuvalu',&lt;br /&gt;
	'Uganda',&lt;br /&gt;
	'Ukraine',&lt;br /&gt;
	'the United Arab Emirates',&lt;br /&gt;
	'the UAE',&lt;br /&gt;
	'the U.A.E.',&lt;br /&gt;
	'United Arab Emirates',&lt;br /&gt;
	'UAE',&lt;br /&gt;
	'U.A.E.',&lt;br /&gt;
	'the United Kingdom',&lt;br /&gt;
	'United Kingdom',&lt;br /&gt;
	'the UK',&lt;br /&gt;
	'the U.K.',&lt;br /&gt;
	'UK',&lt;br /&gt;
	'U.K.',&lt;br /&gt;
	'the United States of America',&lt;br /&gt;
	'the United States',&lt;br /&gt;
	'the USA',&lt;br /&gt;
	'the U.S.A.',&lt;br /&gt;
	'United States of America',&lt;br /&gt;
	'United States',&lt;br /&gt;
	'US',&lt;br /&gt;
	'U.S.',&lt;br /&gt;
	'USA',&lt;br /&gt;
	'U.S.A.',&lt;br /&gt;
	'America',&lt;br /&gt;
	'Uruguay',&lt;br /&gt;
	'Uzbekistan',&lt;br /&gt;
	'Vanuatu',&lt;br /&gt;
	'Venezuela',&lt;br /&gt;
	'Vietnam',&lt;br /&gt;
	'the British Virgin Islands',&lt;br /&gt;
	'British Virgin Islands',&lt;br /&gt;
	'UK Virgin Islands',&lt;br /&gt;
	'U.K. Virgin Islands',&lt;br /&gt;
	'the United States Virgin Islands',&lt;br /&gt;
	'the US Virgin Islands',&lt;br /&gt;
	'the U.S. Virgin Islands',&lt;br /&gt;
	'United States Virgin Islands',&lt;br /&gt;
	'US Virgin Islands',&lt;br /&gt;
	'U.S. Virgin Islands',&lt;br /&gt;
	'the Virgin Islands',&lt;br /&gt;
	'Virgin Islands',&lt;br /&gt;
	'Wales',&lt;br /&gt;
	'Yemen',&lt;br /&gt;
	'Zambia',&lt;br /&gt;
	'Zimbabwe',&lt;br /&gt;
	'Find country/testcases'&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- returns the name of a country that is found in the string&lt;br /&gt;
-- ... or an empty string if there is no match&lt;br /&gt;
function findcountryinstring(str)&lt;br /&gt;
&lt;br /&gt;
	nMatches = 0&lt;br /&gt;
	myMatches ={}&lt;br /&gt;
	str=&amp;quot; &amp;quot; .. str:gsub(&amp;quot;^%s*(.-)%s*$&amp;quot;, &amp;quot;%1&amp;quot;) .. &amp;quot; &amp;quot;&lt;br /&gt;
&lt;br /&gt;
		-- check agaist each country&lt;br /&gt;
		-- if there is a match, then return that country&lt;br /&gt;
		for i, thiscountry in ipairs(countryList) do&lt;br /&gt;
			if mw.ustring.find(str, thiscountry) then&lt;br /&gt;
				nMatches = nMatches + 1&lt;br /&gt;
				myMatches[nMatches] = thiscountry&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	if (nMatches == 0) then&lt;br /&gt;
		-- none of the title words matches a whole country&lt;br /&gt;
		return nomatch&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if ((matchnum &amp;gt;= 1) and (matchnum &amp;lt;= nMatches)) then&lt;br /&gt;
		return myMatches[matchnum]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if (matchnum &amp;lt; 0) then&lt;br /&gt;
		matchnum = matchnum + 1 -- so that -1 is the last match etc&lt;br /&gt;
		if ((matchnum + nMatches) &amp;gt;= 1) then&lt;br /&gt;
			return myMatches[matchnum + nMatches]&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- if we get here, we have not found a match at the position specified by &amp;quot;matchnum&amp;quot;&lt;br /&gt;
	return nomatch&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	if (args['nomatch'] ~= nil) then&lt;br /&gt;
		nomatch = args['nomatch']&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- by default, we return the first match&lt;br /&gt;
	-- but the optional &amp;quot;C&amp;quot; paarmeter sets the &amp;quot;matchnum&amp;quot; variable, which&lt;br /&gt;
	-- * for a positive matchnum &amp;quot;n&amp;quot;, returns the nth match if it exists&lt;br /&gt;
	-- * for a positive matchnum &amp;quot;n&amp;quot;, returns (if it exists) the nth match&lt;br /&gt;
	--   counting backwards from the end.&lt;br /&gt;
	--   So &amp;quot;match=-1&amp;quot; returns the last match&lt;br /&gt;
	--   and &amp;quot;match=-3&amp;quot; returns the 3rd-last match&lt;br /&gt;
	if (args['match'] ~= nil) then&lt;br /&gt;
		matchnum = tonumber(args['match'])&lt;br /&gt;
		if ((matchnum == nil) or (matchnum == 0)) then&lt;br /&gt;
			matchnum = 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- by default, we use the current page&lt;br /&gt;
	-- but if the &amp;quot;string=&amp;quot; parameters is supplied, we use that&lt;br /&gt;
	-- so we try the parameter first&lt;br /&gt;
	thispagename = nil&lt;br /&gt;
	if ((args['string'] ~= nil) and (args['string'] ~= &amp;quot;&amp;quot;)) then&lt;br /&gt;
		-- we have a non-empty &amp;quot;string&amp;quot; parameter, so we use it&lt;br /&gt;
		thisstring = args['string']&lt;br /&gt;
	else&lt;br /&gt;
		-- get the page title&lt;br /&gt;
		thispage = mw.title.getCurrentTitle()&lt;br /&gt;
		thisstring = thispage.text;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- now check the pagename to try to find a country&lt;br /&gt;
	result = findcountryinstring(thisstring)&lt;br /&gt;
	if (result == &amp;quot;&amp;quot;) then&lt;br /&gt;
		return nomatch&lt;br /&gt;
	end&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;Neveselbert</name></author>
	</entry>
</feed>