Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to year 2019 #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ajaxrecentlyuploaded.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

try {
$limit = 4;
$sql="SELECT page_title, page_latest, rev_user_text, rev_timestamp FROM page, categorylinks, revision WHERE page_id=cl_from AND page_latest=rev_id AND page_namespace=6 AND cl_to='Images_from_Wiki_Loves_Monuments_2018' GROUP BY rev_user_text ORDER BY rev_timestamp DESC LIMIT ".$limit;
$sql="SELECT page_title, page_latest, rev_user_text, rev_timestamp FROM page, categorylinks, revision WHERE page_id=cl_from AND page_latest=rev_id AND page_namespace=6 AND cl_to='Images_from_Wiki_Loves_Monuments_2019' GROUP BY rev_user_text ORDER BY rev_timestamp DESC LIMIT ".$limit;
$stmt = $db->prepare($sql);
$stmt->execute();
} catch(PDOException $e) {
Expand Down
34 changes: 17 additions & 17 deletions i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ function translatemsg (msg) {

case 'welcome':
switch (browserlang) {
case 'es': msg2 = '<b>¡Bienvenido/a!</b> Este es un mapa para el concurso <a href="' + getwebsite ('es') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('es')+'" target="_blank" title="@'+gettwitter('es')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('es')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. ¡Busca monumentos próximos a ti, hazles fotos y súbelas!'; break;
case 'fr': msg2 = '<b>Bienvenue !</b> Ceci est une carte pour le concours photographique <a href="' + getwebsite ('fr') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('fr')+'" target="_blank" title="@'+gettwitter('fr')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('fr')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Cherchez monuments proche de vous, prenez des photos et importez-les !'; break;
case 'he': msg2 = 'ברוכים הבאים! זוהי מפה עבור תחרות הצילום ויקיפדיה אוהבת אתרי מורשת 2018. חפשו אתרי מורשת ועתיקות לידכם, צלמו והעלו את התמונות!'; break;
case 'it': msg2 = '<b>Welcome!</b> This is a map for the <a href="' + getwebsite ('it') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('it')+'" target="_blank" title="@'+gettwitter('it')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('it')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> photographic contest. Search monuments near to you, take photos and upload them!'; break;
case 'ka': msg2 = '<b>მოგესალმებით!</b> ეს არის „<a href="' + getwebsite ('ka') + '" target="_blank">ვიკის უყვარს ძეგლები 2018-ის</a>“&nbsp;<a href="https://twitter.com/'+gettwitter('ka')+'" target="_blank" title="@'+gettwitter('ka')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ka')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> ძეგლების ამსახველი რუკა. მოძებნეთ ძეგლები თვქენთან ახლოს, გადაუღეთ ფოტოები და გახდით უდიდესი ფოტოკონკურსის მონაწილე!'; break;
case 'nb': msg2 = 'Velkommen! Dette er et kart for <a href="' + getwebsite ('no') + '" target="_blank">Wiki Loves Monuments 2018</a>-fotokonkurransen&nbsp;<a href="https://twitter.com/'+gettwitter('no')+'" target="_blank" title="@'+gettwitter('no')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('no')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Søk i monumenter nær deg, ta bilder og last dem opp!'; break;
case 'es': msg2 = '<b>¡Bienvenido/a!</b> Este es un mapa para el concurso <a href="' + getwebsite ('es') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('es')+'" target="_blank" title="@'+gettwitter('es')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('es')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. ¡Busca monumentos próximos a ti, hazles fotos y súbelas!'; break;
case 'fr': msg2 = '<b>Bienvenue !</b> Ceci est une carte pour le concours photographique <a href="' + getwebsite ('fr') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('fr')+'" target="_blank" title="@'+gettwitter('fr')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('fr')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Cherchez monuments proche de vous, prenez des photos et importez-les !'; break;
case 'he': msg2 = 'ברוכים הבאים! זוהי מפה עבור תחרות הצילום ויקיפדיה אוהבת אתרי מורשת 2019. חפשו אתרי מורשת ועתיקות לידכם, צלמו והעלו את התמונות!'; break;
case 'it': msg2 = '<b>Welcome!</b> This is a map for the <a href="' + getwebsite ('it') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('it')+'" target="_blank" title="@'+gettwitter('it')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('it')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> photographic contest. Search monuments near to you, take photos and upload them!'; break;
case 'ka': msg2 = '<b>მოგესალმებით!</b> ეს არის „<a href="' + getwebsite ('ka') + '" target="_blank">ვიკის უყვარს ძეგლები 2019-ის</a>“&nbsp;<a href="https://twitter.com/'+gettwitter('ka')+'" target="_blank" title="@'+gettwitter('ka')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ka')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> ძეგლების ამსახველი რუკა. მოძებნეთ ძეგლები თვქენთან ახლოს, გადაუღეთ ფოტოები და გახდით უდიდესი ფოტოკონკურსის მონაწილე!'; break;
case 'nb': msg2 = 'Velkommen! Dette er et kart for <a href="' + getwebsite ('no') + '" target="_blank">Wiki Loves Monuments 2019</a>-fotokonkurransen&nbsp;<a href="https://twitter.com/'+gettwitter('no')+'" target="_blank" title="@'+gettwitter('no')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('no')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Søk i monumenter nær deg, ta bilder og last dem opp!'; break;
case 'ne': msg2 = 'तपाईंलाई स्वागत छ! यो <a href="' + getwebsite ('np') + '" target="_blank">विकी लभ्स मोन्युमेन्ट्स २०१५</a>&nbsp;<a href="https://twitter.com/'+gettwitter('np')+'" target="_blank" title="@'+gettwitter('np')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('np')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> तस्विर प्रतियोगिताको नक्सा हो । तपाईं नजिकै रहेको धरोहरहरूको तस्विर खिच्नुहोस् र त्यसलाई अपलोड गर्नुहोस!'; break;
case 'nl': msg2 = 'Welkom! Dit is de kaart voor de fotowedstrijd <a href="' + getwebsite ('nl') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('nl')+'" target="_blank" title="@'+gettwitter('nl')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('nl')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Zoek naar monumenten in jouw buurt, maak foto\'s en upload ze!'; break;
case 'ro': msg2 = 'Bun venit! Aceasta este o hartă pentru concursul de fotografie <a href="' + getwebsite ('ro') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('ro')+'" target="_blank" title="@'+gettwitter('ro')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ro')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Căutați monumente din preajmă, fotografiați-le și încărcați imaginile!'; break;
case 'nl': msg2 = 'Welkom! Dit is de kaart voor de fotowedstrijd <a href="' + getwebsite ('nl') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('nl')+'" target="_blank" title="@'+gettwitter('nl')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('nl')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Zoek naar monumenten in jouw buurt, maak foto\'s en upload ze!'; break;
case 'ro': msg2 = 'Bun venit! Aceasta este o hartă pentru concursul de fotografie <a href="' + getwebsite ('ro') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('ro')+'" target="_blank" title="@'+gettwitter('ro')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ro')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Căutați monumente din preajmă, fotografiați-le și încărcați imaginile!'; break;
case 'ru': msg2 = 'Добро пожаловать! Это карта памятников, участвующих в международном фотоконкурсе <a href="' + getwebsite ('ru') + '" target="_blank">Вики любит памятники</a>&nbsp;<a href="https://twitter.com/'+gettwitter('ru')+'" target="_blank" title="@'+gettwitter('ru')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ru')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Найдите объекты, находящиеся неподалёку, сфотографируйте их и примите участие в конкурсе!'; break;
case 'sq': msg2 = 'Mirë se vini! Kjo është një hartë për konkursin fotografik <a href="' + getwebsite ('al') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('al')+'" target="_blank" title="@'+gettwitter('al')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('al')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Kërko monumentet afër teje, fotografoi dhe ngarkoi fotot!'; break;
case 'sv': msg2 = 'Välkommen! Detta är en karta för fototävlngen <a href="' + getwebsite ('se') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('se')+'" target="_blank" title="@'+gettwitter('se')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('se')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Hitta monument nära dig, ta bilder och ladda upp dem!'; break;
case 'uk': msg2 = 'Привіт! Це карта для фотоконкурсу <a href="' + getwebsite ('ua') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('ua')+'" target="_blank" title="@'+gettwitter('ua')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ua')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Шукайте пам\'ятки біля Вас, робіть фотографії та вантажте їх!'; break;
case 'sq': msg2 = 'Mirë se vini! Kjo është një hartë për konkursin fotografik <a href="' + getwebsite ('al') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('al')+'" target="_blank" title="@'+gettwitter('al')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('al')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Kërko monumentet afër teje, fotografoi dhe ngarkoi fotot!'; break;
case 'sv': msg2 = 'Välkommen! Detta är en karta för fototävlngen <a href="' + getwebsite ('se') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('se')+'" target="_blank" title="@'+gettwitter('se')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('se')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Hitta monument nära dig, ta bilder och ladda upp dem!'; break;
case 'uk': msg2 = 'Привіт! Це карта для фотоконкурсу <a href="' + getwebsite ('ua') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('ua')+'" target="_blank" title="@'+gettwitter('ua')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('ua')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a>. Шукайте пам\'ятки біля Вас, робіть фотографії та вантажте їх!'; break;

default: msg2 = '<b>Welcome!</b> This is a map for the <a href="' + getwebsite ('en') + '" target="_blank">Wiki Loves Monuments 2018</a>&nbsp;<a href="https://twitter.com/'+gettwitter('en')+'" target="_blank" title="@'+gettwitter('en')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('en')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> photographic contest. Search monuments near to you, take photos and upload them!';
default: msg2 = '<b>Welcome!</b> This is a map for the <a href="' + getwebsite ('en') + '" target="_blank">Wiki Loves Monuments 2019</a>&nbsp;<a href="https://twitter.com/'+gettwitter('en')+'" target="_blank" title="@'+gettwitter('en')+' on Twitter!"><img src="icons/twitter.ico" width="18px" /></a>&nbsp;<a href="'+getfacebook('en')+'" target="_blank" title="Wiki Loves Monuments on Facebook!"><img src="icons/facebook.png" width="18px" /></a> photographic contest. Search monuments near to you, take photos and upload them!';
}
break;

Expand Down Expand Up @@ -442,12 +442,12 @@ function translatemsg (msg) {

case 'september-year':
switch (browserlang) {
case 'es': msg2 = 'Septiembre de 2018'; break;
case 'it': msg2 = 'Settembre 2018'; break;
case 'ka': msg2 = '2018 წლის სექტემბერი'; break;
case 'sv': msg2 = 'September 2018'; break;
case 'es': msg2 = 'Septiembre de 2019'; break;
case 'it': msg2 = 'Settembre 2019'; break;
case 'ka': msg2 = '2019 წლის სექტემბერი'; break;
case 'sv': msg2 = 'September 2019'; break;

default: msg2 = 'September 2018';
default: msg2 = 'September 2019';
}
break;

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Wiki Loves Monuments 2018</title>
<title>Wiki Loves Monuments 2019</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
Expand Down
8 changes: 4 additions & 4 deletions wlm-maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function getwebsite (country) {
case 'al': website = 'http://wikilovesmonuments.al'; break;
case 'am': website = 'https://hy.wikipedia.org/wiki/%D5%8E%D5%AB%D6%84%D5%AB%D5%BA%D5%A5%D5%A4%D5%AB%D5%A1:%D5%8E%D5%AB%D6%84%D5%AB%D5%B6_%D5%BD%D5%AB%D6%80%D5%B8%D6%82%D5%B4_%D5%A7_%D5%B0%D5%B8%D6%82%D5%B7%D5%A1%D6%80%D5%B1%D5%A1%D5%B6%D5%B6%D5%A5%D6%80_2016'; break;
case 'at': website = 'http://wikilovesmonuments.at'; break;
case 'az': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2018_in_Azerbaijan'; break;
case 'az': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2019_in_Azerbaijan'; break;
case 'bd': website = 'http://www.wikiloves.org/monuments'; break;
case 'br': website = 'https://pt.wikipedia.org/wiki/Wikip%C3%A9dia:Wiki_Loves_Monuments_2016/Brasil'; break;
case 'cm': website = 'http://cm.wikilovesmonuments.org'; break;
Expand All @@ -141,15 +141,15 @@ function getwebsite (country) {
case 'fr': website = 'http://wikilovesmonuments.fr'; break;
case 'ie': website = 'http://www.wikilovesmonuments.ie'; break;
case 'il': website = 'http://www.wlm.org.il'; break;
case 'in': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2018_in_India'; break; //LOST http://wikilovesmonuments.in
case 'in': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2019_in_India'; break; //LOST http://wikilovesmonuments.in
case 'ir': website = 'https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D9%88%DB%8C%DA%A9%DB%8C_%D8%AF%D9%88%D8%B3%D8%AA%D8%AF%D8%A7%D8%B1_%DB%8C%D8%A7%D8%AF%D9%85%D8%A7%D9%86%E2%80%8C%D9%87%D8%A7_%DB%B2%DB%B0%DB%B1%DB%B5_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86'; break;
case 'it': website = 'http://wikilovesmonuments.wikimedia.it'; break;
case 'lv': website = 'https://lv.wikipedia.org/wiki/Vikiprojekts:Kult%C5%ABras_pieminek%C4%BCi_Vikip%C4%93dij%C4%81_2016'; break;
case 'mk': website = 'http://wikilovesmonuments.mk'; break;
case 'my': website = 'http://2016.wikilovesmonuments.my'; break;
case 'nl': website = 'http://www.wikimedia.nl/project/wiki-loves-monuments'; break;
case 'no': website = 'https://no.wikipedia.org/wiki/Wikipedia:Wiki_Loves_Monuments_2018'; break;
case 'np': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2018_in_Nepal'; break;
case 'no': website = 'https://no.wikipedia.org/wiki/Wikipedia:Wiki_Loves_Monuments_2019'; break;
case 'np': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2019_in_Nepal'; break;
case 'pa': website = 'https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2013_in_Panama'; break; //LOST http://www.wlmpanama.org.pa
case 'pk': website = 'https://en.wikipedia.org/wiki/Wikipedia:Wiki_Loves_Monuments_Pakistan'; break;
case 'ro': website = 'http://wikilovesmonuments.ro'; break;
Expand Down