Module:World topic and Module:World topic/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m →top: country articles now at short form, removed: Palestine (2) |
sync |
||
Line 51: | Line 51: | ||
Djibouti = {""}, |
Djibouti = {""}, |
||
Dominica = {""}, |
Dominica = {""}, |
||
⚫ | |||
["Dominican Republic"] = {"the Dominican Republic"}, |
["Dominican Republic"] = {"the Dominican Republic"}, |
||
Ecuador = {""}, |
Ecuador = {""}, |
||
Line 136: | Line 137: | ||
Oman = {""}, |
Oman = {""}, |
||
Pakistan = {""}, |
Pakistan = {""}, |
||
Palestine = {""}, |
Palestine = {"State of Palestine"}, |
||
Palau = {""}, |
Palau = {""}, |
||
Panama = {""}, |
Panama = {""}, |
||
Line 163: | Line 164: | ||
Slovakia = {""}, |
Slovakia = {""}, |
||
Slovenia = {""}, |
Slovenia = {""}, |
||
["Solomon Islands"] = {""}, |
["Solomon Islands"] = {"the Solomon Islands"}, |
||
Somalia = {""}, |
Somalia = {""}, |
||
["South Africa"] = {""}, |
["South Africa"] = {""}, |
||
Line 178: | Line 179: | ||
Tanzania = {""}, |
Tanzania = {""}, |
||
Thailand = {""}, |
Thailand = {""}, |
||
⚫ | |||
Togo = {""}, |
Togo = {""}, |
||
Tonga = {""}, |
Tonga = {""}, |
||
Line 228: | Line 228: | ||
if override[y] then |
if override[y] then |
||
target = override[y] |
target = override[y] |
||
elseif y == "Georgia" then |
elseif y == "Georgia" or y == "Palestine" then |
||
if mw.title.new(prefix..country[y][1]..suffix).exists then |
if mw.title.new(prefix..country[y][1]..suffix).exists then |
||
target = prefix..country[y][1]..suffix |
target = prefix..country[y][1]..suffix |
||
Line 244: | Line 244: | ||
elseif mw.title.new(prefix..linktarget(y, country[y][1])..suffix).exists then |
elseif mw.title.new(prefix..linktarget(y, country[y][1])..suffix).exists then |
||
target = prefix..linktarget(y, country[y][1])..suffix |
target = prefix..linktarget(y, country[y][1])..suffix |
||
elseif y == "Georgia" then |
elseif y == "Georgia" or y == "Palestine" then |
||
if mw.title.new(prefix..y..suffix).exists then |
if mw.title.new(prefix..y..suffix).exists then |
||
target = prefix..y..suffix |
target = prefix..y..suffix |