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>
This commit is contained in:
Sujal 2025-02-17 19:32:45 +05:30 committed by Nicolas Raoul
parent 2df6b2e14c
commit 2c800b9204
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ class ResultTuple {
}
constructor() {
language = ""
language = "bug" // Basa Ugi language - TODO Respect the `Default description language` setting.
type = ""
value = ""
}

View file

@ -469,7 +469,7 @@ class UploadWorker(
contribution: Contribution,
) {
val wikiDataPlace = contribution.wikidataPlace
if (wikiDataPlace != null && wikiDataPlace.imageValue == null) {
if (wikiDataPlace != null) {
if (!contribution.hasInvalidLocation()) {
var revisionID: Long? = null
try {