Skip to content

Commit 40241b4

Browse files
Fix #6188 (Nearby upload not being linked from Wikidata), though it introduces issue #6191
* Make neccesary changes * Make neccesary changes * spacing --------- Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
1 parent 7a685b1 commit 40241b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/fr/free/nrw/commons/nearby/model/ResultTuple.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ResultTuple {
1515
}
1616

1717
constructor() {
18-
language = ""
18+
language = "bug" // Basa Ugi language - TODO Respect the `Default description language` setting.
1919
type = ""
2020
value = ""
2121
}

app/src/main/java/fr/free/nrw/commons/upload/worker/UploadWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ class UploadWorker(
469469
contribution: Contribution,
470470
) {
471471
val wikiDataPlace = contribution.wikidataPlace
472-
if (wikiDataPlace != null && wikiDataPlace.imageValue == null) {
472+
if (wikiDataPlace != null) {
473473
if (!contribution.hasInvalidLocation()) {
474474
var revisionID: Long? = null
475475
try {

0 commit comments

Comments
 (0)