Page MenuHomePhabricator

Add support for OR in the hastemplate keyword using |
Closed, ResolvedPublic

Description

The search does not allow ORing random search keywords. To workaroung this limitation we rely on the keyword itself to support parsing multiple values separated with |.
Like incategory hastemplate should support | allowing searcher to find pages that belong either one the templates mentioned.

Example:
hastemplate:Tmpl1|Tmpl2

Event Timeline

Restricted Application added subscribers: Liuxinyu970226, Aklapper. · View Herald Transcript
debt triaged this task as Medium priority.Sep 5 2019, 5:35 PM

Change 535137 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Add support OR in hastemplate

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

Change 535137 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Add support OR in hastemplate

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