Page MenuHomePhabricator

Search page: Escaped ampersands in page’s title
Closed, ResolvedPublic

Description

When I go to

https://fr.wikipedia.org/w/index.php?search=untitreinexistant

the page’s displayed title is

"Résultats de recherche pour « untitreinexistant » - Wikipédia"

instead of

"Résultats de recherche pour « untitreinexistant » - Wikipédia"

Version: unspecified
Severity: normal

Details

Reference
bz58693

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:36 AM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz58693.
Ltrlg created this task.Dec 19 2013, 4:26 PM
Ltrlg added a comment.Dec 19 2013, 8:24 PM

I thought "Search" was only for the search engine, not for the display of messages on Special:Search ("Issues relating to the search engine")?

So long as the right people are on the CC list the bug will be noticed if you poke it enough.

When I click on your link I do not see the unescaped text. Did the url get cut off somehow?

Ltrlg added a comment.Dec 19 2013, 9:08 PM

Are you using French as interface language? Maybe

https://fr.wikipedia.org/w/index.php?search=untitreinexistant&uselang=fr

would have been better

Screenshot not showing problem

I still don't see it. Am I looking in the wrong spot? Could you attach a screenshot?

Attached:

Ltrlg added a comment.Dec 19 2013, 9:13 PM

(hum, there are two title on a page, let’s be more precise)

I’m speaking about <title> tag which sets the windows’ title

Ah! Now I understand and I do, indeed, see the bug:
<title>Résultats de recherche pour «&amp;#160;untitreinexistant&amp;#160;» - Wikipédia</title>

Not sure why the gerrit bot didn't get this. Patch merged to fix it here: https://gerrit.wikimedia.org/r/#/c/102820/