TJones added a comment.
> Brilliant answer, thanks for the insights and also for your lovely blog post. Glad to help. I'm always happy to try to figure out what's going on with unexpected search results. > I agree that some kind of extra algorithm must be putting the exact file match to the bottom of the list - moving it to the top would be perfect. If search platform team can do that, please provide a quick feedback as to how and when it could happen. I don't think it's happening on the search side. Looking at the Javascript behind the P18 search in my browser, I see calls to Special:ItemByTitle <https://commons.wikimedia.org/wiki/Special:ItemByTitle> (search the code for //ItemByTitle,// the colon can be url-encoded). I'm not up to speed on modern Javascript and the code is very complex, but I think that might be the call that's fetching the exact title match and appending it to the list. Prepending it might do the trick, but someone much more proficient in Javascript and with better dev tools should take a look. TASK DETAIL https://phabricator.wikimedia.org/T196165 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Silvan_WMDE, TJones Cc: EBernhardson, TJones, dcausse, Ladsgroup, Silvan_WMDE, Addshore, Bencemac, Aklapper, Ayack, Liuxinyu970226, Smalyshev, Lydia_Pintscher, Lea_Lacroix_WMDE, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
