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.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T235826 Introduce more complex and updated search syntax to allow power users and tools to do advanced searches | |||
Open | None | T235827 [EPIC] new query parser is used in production | |||
Open | PRODUCTION ERROR | None | T94814 Fix: "Warning: Search backend error during .. took .." (tracking) | ||
Open | None | T185108 Refactor query parsing logic | |||
Resolved | dcausse | T189880 Introduce SearchQuery | |||
Resolved | dcausse | T198860 Deprecate SearchEngine::replacePrefixes |
Event Timeline
Change 444864 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/core@master] Unify SearchEngine normalizeNamespace and parseNamespacePrefixes
Change 444865 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/core@master] Deprecate SearchEngine::replacePrefixes
Change 444866 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Move parseNamespagePrefixes into CirrusSearch::searchTextReal
Change 444867 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Remove CirrusSearch::replicePrefixes
Change 444864 merged by jenkins-bot:
[mediawiki/core@master] Unify SearchEngine normalizeNamespace and parseNamespacePrefixes
Change 444866 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Move parseNamespacePrefixes into CirrusSearch::searchTextReal
Change 444865 merged by jenkins-bot:
[mediawiki/core@master] Deprecate SearchEngine::replacePrefixes
Change 444867 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Remove CirrusSearch::replacePrefixes