Page MenuHomePhabricator

Weird autocomplete in P18 (WD)
Open, Needs TriagePublicBUG REPORT


List of steps to reproduce (step by step, including full links if applicable):

  • open a random item on Wikidata
  • add P18 (image statement)
  • type/copy "File:Poříčí nad Sázavou, 2019 (06).jpg"

What happens?:

  • the first autocomplete is "Poříčí nad Sázavou, 2019 (12).jpg", the second one is "Poříčí nad Sázavou, 2019 (14).jpg", the 3rd is "Poříčí nad Sázavou, 2019 (06).jpg"
  • I assume, that the 1st existing autocomplete is the correct hit, but actually, it isn't

What should have happened instead?:

  • the first autocomplete item in the list should be "Poříčí nad Sázavou, 2019 (06).jpg"
  • the result should be the same for ""File:Poříčí nad Sázavou, 2019 (06).jpg" and "Poříčí nad Sázavou, 2019 (06).jpg"

I don't know, where is the reason for this behaviour – whether it is caused by many files with nearly same filename (it's my own approach to naming convention of my files on Commons) or maybe some strange Czech letters (ř, č) are causing the problem. I have noticed the same behaviour previously with some other files – it's not very often, but it happens occasionally. It is interesting that typing the filename without the "File" prefix would solve the problem, but it's quite counterintuitive to omit the File: in the claim box.

Related Objects

Mentioned Here
P18 my paste!