Page MenuHomePhabricator

Autocompletion for MediaInfo items on WMCS
Open, MediumPublic

Description

As a WMCS user when writing a sparql query and when I start entering the sdc: prefix I'd like to have the same autocompletion feature currently available on wikidata items.

AC:

  • when typing sdc: a list of filepage with MediaInfo data is suggested in a search as you type manner

Event Timeline

Given that mediainfo items are just of the form sdc:M12345, is much meaningful autocompletion for these actually possible?

(Autocompletion for Commons filenames might be a nice touch, though I doubt these would often be specified as literals in queries, as the M-IDs are so much shorter).

Given that mediainfo items are just of the form sdc:M12345, is much meaningful autocompletion for these actually possible?

The same meaningful autocompletion as for Wikidata items, which are of the form wd:Q12345? ^^

In other words, you start typing sdc:Yuzuru Hanyu 20 and it suggests Yuzuru Hanyu 2009 JGPF Podium.jpg, Yuzuru Hanyu 2010 Cup of Russia.JPG and Yuzuru hanyu 2015 worlds.jpg, and when you select the third file it replaces the input with sdc:M43058490.

Gehel triaged this task as Medium priority.Sep 15 2020, 7:43 AM