Page MenuHomePhabricator

Search Preview: Search Preview doesn't work for articles with special characters in the title
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The search preview is not opening. There is an error in the devtools console: Error: Syntax error, unrecognized expression: [title='Geoffroy's cat']

What should have happened instead?:
The search preview for Geoffroy's catand other articles with special characters in the title should appear.

Event Timeline

vadim-kovalenko renamed this task from Search Preview: Search Preview doesn't work for articles with speciad characters to Search Preview: Search Preview doesn't work for articles with special characters in the title.Dec 5 2022, 1:23 PM

Change 863465 had a related patch set uploaded (by Vadim Kovalenko; author: Vadim Kovalenko):

[mediawiki/extensions/SearchVue@master] Search Preview: Search Preview doesn't work for articles with special characters in the title

https://gerrit.wikimedia.org/r/863465

Change 863465 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Search Preview: Search Preview doesn't work for articles with special characters in the title

https://gerrit.wikimedia.org/r/863465

Etonkovidova subscribed.

Checked in betalabs - the search Preview correctly displays articles with special characters in their titles.

Screen Shot 2022-12-14 at 4.02.18 PM.png (895×1 px, 657 KB)
Screen Shot 2022-12-14 at 4.01.22 PM.png (984×1 px, 401 KB)

Checked after deployment (wmf.17) to ruwiki, ptwiki, and idwiki - the issue is fixed.