Hi all,

Just a quick question about the WLM 2021 template that we are trying to add
to WLM uploads made via the Commons app. We currently retrieve the country
that a monument is in, then convert it to the two-letter country code and
insert it into the template.

However we are still getting errors; as shown at
https://commons.wikimedia.org/wiki/File:Newstead_Gasworks_4.jpg , I have
uploaded a test image with the template {{Wiki Loves Monuments 2021 |1=
au}} but the page says "English: No or incorrect country code indicated in
the {{Wiki Loves Monuments 2021}} template". I have experimented with
various other country codes listed at
https://commons.wikimedia.org/wiki/Template:Wiki_Loves_Monuments_country_logos
; interestingly some like "al" or "ad" do not work, but "ie" does.

TLDR: Does the template only accept some countries and not others, perhaps
only countries participating in WLM 2021? Is it possible for us to get a
machine-readable list of these countries?

Thanks!

Best regards,
Josephine
_______________________________________________
Wiki Loves Monuments mailing list
To unsubscribe send an email to [email protected]
http://www.wikilovesmonuments.org

Reply via email to