Skip to content

Commit 12221df

Browse files
authored
Move WLM template below geolocation template (#4582)
1 parent e666e76 commit 12221df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/src/main/java/fr/free/nrw/commons/upload/PageContentsCreator.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ public String createFrom(final Contribution contribution, final String countryCo
5555

5656
buffer.append("}}").append("\n");
5757

58-
if (contribution.getWikidataPlace()!=null && contribution.getWikidataPlace().isMonumentUpload()) {
59-
buffer.append("{{Wiki Loves Monuments 2021|1= ")
60-
.append(countryCode)
61-
.append("}}").append("\n");
62-
}
63-
6458
//Only add Location template (e.g. {{Location|37.51136|-77.602615}} ) if coords is not null
6559
final String decimalCoords = contribution.getDecimalCoords();
6660
if (decimalCoords != null) {
6761
buffer.append("{{Location|").append(decimalCoords).append("}}").append("\n");
6862
}
6963

64+
if (contribution.getWikidataPlace()!=null && contribution.getWikidataPlace().isMonumentUpload()) {
65+
buffer.append("{{Wiki Loves Monuments 2021|1= ")
66+
.append(countryCode)
67+
.append("}}").append("\n");
68+
}
69+
7070
buffer.append("== {{int:license-header}} ==\n")
7171
.append(licenseTemplateFor(media.getLicense())).append("\n\n")
7272
.append("{{Uploaded from Mobile|platform=Android|version=")

0 commit comments

Comments
 (0)