Page MenuHomePhabricator

Wikidata Query Builder: Weird validation rule on "at least" = min value
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue:

  • Open the pre-filled query in Wikidata Query Builder.
  • Alternatively, add a condition using a quantity property such as number of speakers, writers, or signers (P1098),
  • set the relation to more than and
  • Enter 0 as the input value.
  • Click Run Query.

What happens?:

The Query Builder blocks execution with the error message: "One or more fields are empty or contain content that is not recognized. Please resolve all issues and try again." and highlights the input field with "Please enter a number".

Entering positive non-zero values (e.g. 0.5) resolves the validation error and runs without issue.

What should have happened instead?:

The value 0 should be treated as a valid numeric input, allowing the query to run successfully.

Software version:

N/A

Other information:

  • Screenshots:
    image.png (220×92 px, 6 KB)
  • Browser: Google Chrome
  • Operating System: Win11

Related Objects