Skip to content

Commit

Permalink
update from 2022 to 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Aug 23, 2023
1 parent c269015 commit 6499505
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/components/main/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 class="big">Join the contest!</h2>
of over 1.2 million monuments around the world.
</p>
<p>
In order to participate in Wiki Loves Monuments 2022 please follow
In order to participate in Wiki Loves Monuments 2023 please follow
these steps:
</p>
<ol>
Expand Down Expand Up @@ -124,7 +124,7 @@ <h2 class="big">Join the contest!</h2>
>
<div flex="75" flex-xs="100">
<p class="big">
&copy; 2022 <a href="//github.com/yarl">Paweł Marynowski</a> and
&copy; 2023 <a href="//github.com/yarl">Paweł Marynowski</a> and
<a href="//github.com/slaporte">Stephen LaPorte</a> //
<a href="//hatnote.com/">hatnote.com</a>
</p>
Expand Down
10 changes: 5 additions & 5 deletions src/components/main/monument/monument.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ <h4 class="monument__subtitle md-headline muted">
layout-align="center center"
ng-if="false"
>
<strong>Wiki Loves Monuments 2022 has not started yet.</strong>
<strong>Wiki Loves Monuments 2023 has not started yet.</strong>
<span
>Wiki Loves Monuments will start in September. You may still share
your images, but they will not be eligible for the competition.</span
Expand All @@ -328,7 +328,7 @@ <h4 class="monument__subtitle md-headline muted">
>
<strong
>This country is not participating in Wiki Loves Monuments
2022.</strong
2023.</strong
>
<span
>You are still able to upload photos in order to document
Expand All @@ -344,10 +344,10 @@ <h4 class="monument__subtitle md-headline muted">
>
<strong>You are welcome to upload to Wikimedia Commons</strong>
<span>
Please note, if you want to contribute to the 2022 Wiki Loves
Please note, if you want to contribute to the 2023 Wiki Loves
Monuments contest in {{ $ctrl.country.name }}, check the
<a
href="//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2022/Participating_countries"
href="//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2023/Participating_countries"
target="_blank"
>local competition rules</a
>.</span
Expand Down Expand Up @@ -832,7 +832,7 @@ <h4 class="monument__subtitle md-headline">Map</h4>
>
<div flex="75" flex-xs="100">
<p class="big">
&copy; 2017-2022 <a href="//github.com/yarl">Paweł Marynowski</a> and
&copy; 2017-2023 <a href="//github.com/yarl">Paweł Marynowski</a> and
<a href="//github.com/slaporte">Stephen LaPorte</a> //
<a href="//hatnote.com/">hatnote.com</a>
</p>
Expand Down
14 changes: 7 additions & 7 deletions src/components/main/monument/monument.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function controller(
{{self|cc-by-sa-4.0}}
${
vm.country
? `{{subst:WLM-is-running|${vm.country.code}|{{Wiki Loves Monuments 2022|${vm.country.code}}}}}`
? `{{subst:WLM-is-running|${vm.country.code}|{{Wiki Loves Monuments 2023|${vm.country.code}}}}}`
: ""
}
Expand All @@ -155,15 +155,15 @@ ${getCategory()}
const [year, month, day] = moment().format("YYYY-MM-DD").split("-");
const categories = [
`[[Category:WLM-UK ${year} unfiltered ${month}-${day}]]`,
"[[Category:Images from Wiki Loves Monuments 2022 in the United Kingdom]]",
"[[Category:Images from Wiki Loves Monuments 2023 in the United Kingdom]]",
getPropertyValue("P1459") &&
"[[Category:Images from Wiki Loves Monuments 2022 in Wales]]",
"[[Category:Images from Wiki Loves Monuments 2023 in Wales]]",
getPropertyValue("P1460") &&
"[[Category:Images from Wiki Loves Monuments 2022 in Northern Ireland]]",
"[[Category:Images from Wiki Loves Monuments 2023 in Northern Ireland]]",
getPropertyValue("P1216") &&
"[[Category:Images from Wiki Loves Monuments 2022 in England]]",
"[[Category:Images from Wiki Loves Monuments 2023 in England]]",
(getPropertyValue("P709") || getPropertyValue("P718")) &&
"[[Category:Images from Wiki Loves Monuments 2022 in Scotland]]",
"[[Category:Images from Wiki Loves Monuments 2023 in Scotland]]",
!getPropertyValue("P18") &&
"[[Category:Potential image for Wikidata item]]"
];
Expand All @@ -174,7 +174,7 @@ ${getCategory()}
return `[[${vm.category.title}]]`;
}
if (vm.country.code === "ie") {
return "[[Category:Images from Wiki Loves Monuments 2022 in Ireland – missing category]]";
return "[[Category:Images from Wiki Loves Monuments 2023 in Ireland – missing category]]";
}
if (vm.country.category) {
return `[[Category:${vm.country.category}]]`;
Expand Down
6 changes: 3 additions & 3 deletions src/index_prod.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<base href="/"></base>
<meta property="og:url" content="https://maps.wikilovesmonuments.org/" />
<meta property="og:title" content="Wiki Loves Monuments Map" />
<meta property="og:description" content="Discover cultural heritage monuments. Contibute to Wiki Loves Monuments 2022!" />
<meta property="og:description" content="Discover cultural heritage monuments. Contibute to Wiki Loves Monuments 2023!" />
<meta property="og:image" content="https://maps.wikilovesmonuments.org/fb.png" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@wikimonuments">
<meta name="twitter:title" content="Wiki Loves Monuments Map">
<meta name="twitter:description" content="Discover cultural heritage monuments. Contibute to Wiki Loves Monuments 2022!">
<meta name="twitter:description" content="Discover cultural heritage monuments. Contibute to Wiki Loves Monuments 2023!">
<meta name="twitter:image" content="https://maps.wikilovesmonuments.org/fb.pn">
<title>Wiki Loves Monuments Map</title>
<meta name="description" content="Discover cultural heritage monuments. Contibute to Wiki Loves Monuments 2022!">
<meta name="description" content="Discover cultural heritage monuments. Contibute to Wiki Loves Monuments 2023!">
</head>
<body ng-app="monumental" ng-cloak>
<ui-view></ui-view>
Expand Down

0 comments on commit 6499505

Please sign in to comment.