Page MenuHomePhabricator

Deprecate SearchEngine::replacePrefixes
Closed, ResolvedPublic

Description

This is a method that needs to be run before calling searchText/Title.
This method is meant to detect if a namespace is present as a prefix of the query.
This should be the responsibility of the query parser to handle this.

Details

Related Gerrit Patches:

Event Timeline

dcausse triaged this task as Medium priority.Jul 5 2018, 1:51 PM
dcausse created this task.
Restricted Application edited projects, added Discovery-Search; removed Discovery-Search (Current work). · View Herald TranscriptJul 5 2018, 1:51 PM

Change 444864 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/core@master] Unify SearchEngine normalizeNamespace and parseNamespacePrefixes

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

Change 444865 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/core@master] Deprecate SearchEngine::replacePrefixes

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

Change 444866 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Move parseNamespagePrefixes into CirrusSearch::searchTextReal

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

Change 444867 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Remove CirrusSearch::replicePrefixes

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

Change 444864 merged by jenkins-bot:
[mediawiki/core@master] Unify SearchEngine normalizeNamespace and parseNamespacePrefixes

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

Change 444866 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Move parseNamespacePrefixes into CirrusSearch::searchTextReal

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

Change 444865 merged by jenkins-bot:
[mediawiki/core@master] Deprecate SearchEngine::replacePrefixes

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

Change 444867 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Remove CirrusSearch::replacePrefixes

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

debt closed this task as Resolved.Jul 31 2018, 5:49 PM