Page MenuHomePhabricator

Search result is ignoring the display title when the title contains words from the search term
Closed, ResolvedPublic

Description

How to reproduce: use a search term with a word from the title.

For example: add {{DISPLAYTITLE:This is display title}} on the Main_Page and use the "Main Page" string as the search term. The search result will display the "Main Page" title instead of "This is display title".

image.png (597×1 px, 90 KB)

How it is expected to be:

image.png (597×1 px, 91 KB)

Event Timeline

Change 991925 had a related patch set uploaded (by Pastakhov; author: Pastakhov):

[mediawiki/extensions/DisplayTitle@master] Fix DisplayTitleService::handleLink() when the search term matches Title

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

Change 992524 had a related patch set uploaded (by Pastakhov; author: Pastakhov):

[mediawiki/extensions/DisplayTitle@REL1_35] Fix DisplayTitleService::handleLink() when the search term matches Title

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

Change 997872 had a related patch set uploaded (by Pastakhov; author: Pastakhov):

[mediawiki/extensions/DisplayTitle@REL1_39] Fix DisplayTitleService::handleLink() when the search term matches Title

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

Change #992524 abandoned by Umherirrender:

[mediawiki/extensions/DisplayTitle@REL1_35] Fix DisplayTitleService::handleLink() when the search term matches Title

Reason:

REL1_35 is EOL

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

Change #991925 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@master] Fix DisplayTitleService::handleLink() when the search term matches Title

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

Change #997872 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@REL1_39] Fix DisplayTitleService::handleLink() when the search term matches Title

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

Change #1055930 had a related patch set uploaded (by Cicalese; author: Pastakhov):

[mediawiki/extensions/DisplayTitle@REL1_42] Fix DisplayTitleService::handleLink() when the search term matches Title

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

Change #1055930 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@REL1_42] Fix DisplayTitleService::handleLink() when the search term matches Title

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