Merge pull request #32 from deathbaba/countries
Added more countries to info and redirects generation
This commit is contained in:
commit
687fdba546
2 changed files with 218 additions and 1 deletions
217
builder/wikivoyage/countries_to_generate.txt
Normal file
217
builder/wikivoyage/countries_to_generate.txt
Normal file
|
@ -0,0 +1,217 @@
|
|||
Abkhazia
|
||||
Afghanistan
|
||||
Alabama
|
||||
Alaska
|
||||
Albania
|
||||
Andorra
|
||||
Argentina
|
||||
Arizona
|
||||
Arkansas
|
||||
Armenia
|
||||
Australia
|
||||
Austria
|
||||
Azerbaijan
|
||||
Bahrain
|
||||
Bangladesh
|
||||
Barcelona
|
||||
Belarus
|
||||
Belgium
|
||||
Belize
|
||||
Bhutan
|
||||
Bolivia
|
||||
Bosnia_and_Herzegovina
|
||||
Brazil
|
||||
Brunei
|
||||
Bulgaria
|
||||
California
|
||||
Cambodia
|
||||
Canada
|
||||
Canberra
|
||||
Caribbean
|
||||
Caucasus
|
||||
Central_Africa
|
||||
Central_America
|
||||
Central_Asia
|
||||
Chicago
|
||||
Chile
|
||||
China
|
||||
Colombia
|
||||
Colorado
|
||||
Connecticut
|
||||
Costa_Rica
|
||||
Croatia
|
||||
Cuba
|
||||
Cyprus
|
||||
Czech_Republic
|
||||
Delaware
|
||||
Denmark
|
||||
East_Africa
|
||||
East_Asia
|
||||
East_Timor
|
||||
Ecuador
|
||||
El_Salvador
|
||||
Estonia
|
||||
Falkland_Islands
|
||||
Faroe_Islands
|
||||
Finland
|
||||
Florida
|
||||
France
|
||||
French_Guiana
|
||||
Georgia
|
||||
Germany
|
||||
Gibraltar
|
||||
Great_Plains
|
||||
Greece
|
||||
Greenland
|
||||
Guatemala
|
||||
Guernsey
|
||||
Guyana
|
||||
Hawaii
|
||||
Honduras
|
||||
Hong_Kong
|
||||
Hungary
|
||||
Iceland
|
||||
Idaho
|
||||
Illinois
|
||||
India
|
||||
Indiana
|
||||
Indonesia
|
||||
Iowa
|
||||
Iran
|
||||
Iraq
|
||||
Ireland
|
||||
Isle_of_Man
|
||||
Israel
|
||||
Italy
|
||||
Japan
|
||||
Jersey
|
||||
Jordan
|
||||
Kansas
|
||||
Kazakhstan
|
||||
Kentucky
|
||||
Kosovo
|
||||
Kuwait
|
||||
Kyrgyzstan
|
||||
Laos
|
||||
Latvia
|
||||
Lebanon
|
||||
Liechtenstein
|
||||
Lithuania
|
||||
London
|
||||
Los_Angeles
|
||||
Louisiana
|
||||
Luxembourg
|
||||
Macau
|
||||
Madrid
|
||||
Maine
|
||||
Malaysia
|
||||
Maldives
|
||||
Malta
|
||||
Maryland
|
||||
Massachusetts
|
||||
Melanesia
|
||||
Mexico
|
||||
Michigan
|
||||
Micronesia
|
||||
Middle_East
|
||||
Minnesota
|
||||
Mississippi
|
||||
Missouri
|
||||
Moldova
|
||||
Monaco
|
||||
Mongolia
|
||||
Montana
|
||||
Montenegro
|
||||
Moscow
|
||||
Myanmar
|
||||
Nebraska
|
||||
Nepal
|
||||
Netherlands
|
||||
Nevada
|
||||
New_England
|
||||
New_Hampshire
|
||||
New_Jersey
|
||||
New_Mexico
|
||||
New_York
|
||||
New_York_City
|
||||
New_Zealand
|
||||
Nicaragua
|
||||
North_Africa
|
||||
North_Carolina
|
||||
North_Dakota
|
||||
North_Korea
|
||||
Norway
|
||||
Oceania
|
||||
Ohio
|
||||
Oklahoma
|
||||
Oman
|
||||
Oregon
|
||||
Pacific_Northwest
|
||||
Pakistan
|
||||
Palestinian_territories
|
||||
Panama
|
||||
Papua_New_Guinea
|
||||
Paraguay
|
||||
Paris
|
||||
Pennsylvania
|
||||
Peru
|
||||
Philippines
|
||||
Poland
|
||||
Polynesia
|
||||
Portugal
|
||||
Qatar
|
||||
Republic_of_Macedonia
|
||||
Rhode_Island
|
||||
Rio_de_Janeiro
|
||||
Romania
|
||||
Rome
|
||||
Russia
|
||||
Sahel
|
||||
San_Francisco
|
||||
San_Marino
|
||||
Saudi_Arabia
|
||||
Seattle
|
||||
Serbia
|
||||
Singapore
|
||||
Slovakia
|
||||
Slovenia
|
||||
South_America
|
||||
South_Asia
|
||||
South_Carolina
|
||||
South_Dakota
|
||||
South_Korea
|
||||
South_Ossetia
|
||||
Southeast_Asia
|
||||
Southern_Africa
|
||||
Spain
|
||||
Sri_Lanka
|
||||
Suriname
|
||||
Sweden
|
||||
Switzerland
|
||||
Syria
|
||||
Taiwan
|
||||
Tajikistan
|
||||
Tennessee
|
||||
Texas
|
||||
Thailand
|
||||
Toronto
|
||||
Turkey
|
||||
Turkmenistan
|
||||
Ukraine
|
||||
United_Arab_Emirates
|
||||
United_Kingdom
|
||||
United_States_of_America
|
||||
Uruguay
|
||||
Utah
|
||||
Uzbekistan
|
||||
Vatican_City
|
||||
Venezuela
|
||||
Vermont
|
||||
Vietnam
|
||||
Virginia
|
||||
Washington
|
||||
West_Africa
|
||||
West_Virginia
|
||||
Wisconsin
|
||||
Wyoming
|
||||
Yemen
|
|
@ -5,7 +5,7 @@ set -e -u -x
|
|||
# Do not create article_info.txt now so that if we fail make will not consider the job done.
|
||||
rm article_info.tmp || true
|
||||
|
||||
for REGION in United_Kingdom Ireland Italy Switzerland Liechtenstein Belarus Spain Portugal France Germany Netherlands Thailand Greece Russia Ukraine Lithuania Sweden Norway Finland Hawaii
|
||||
cat countries_to_generate.txt | while read REGION
|
||||
do
|
||||
# Create an empty table.
|
||||
$MYSQL_BINARY --user=$MYSQL_USER --database=$MYSQL_DATABASE --execute="DROP TABLE IF EXISTS $REGION"
|
||||
|
|
Reference in a new issue