Page MenuHomePhabricator

Allow setting a default tab to be shown on "Special:Search"
Closed, DuplicatePublic

Description

Setup

  • MediaWiki 1.31+

References

Feature request

This is a feature request for MediaWiki core though this will also help extensions. Earlier versions as indicated above do not have this feature either however I am just mentioning supported versions of MediaWiki here.

While it is possible to set namespace to be searched by default with $wgNamespacesToBeSearchedDefault it is not possible to set a default for the search tabs/sections to be shown by default. Thus having some method (e.g. hook) in [0] to set a default profile would made things easier for users and administrators and moreover also allow extension defined tabs to be set by default - not just MediaWiki core.

[0] https://github.com/wikimedia/mediawiki/blob/master/includes/specials/SpecialSearch.php#L206-L257

Event Timeline

Kghbln renamed this task from Allow setting a default tab to be serached on Special:Search to Allow setting a default tab to be shown on "Special:Search".Jun 29 2019, 5:50 PM

This seems to be about the MediaWiki-Search code base, hence adding the MediaWiki-Search project tag.

EBernhardson moved this task from needs triage to UI tickets on the Discovery-Search board.
CBogen lowered the priority of this task from Medium to Low.Aug 27 2020, 9:58 PM
MPhamWMF subscribed.

Closing out low/est priority tasks over 6 months old with no activity within last 6 months in order to clean out the backlog of tickets we will not be addressing in the near term. Please feel free to reopen if you think a ticket is important, but bare in mind that given current priorities and resourcing, it is unlikely for the Search team to pick up these tasks for the indefinite future. We hope that the requested changes have either been addressed by or made irrelevant by work the team has done or is doing -- e.g. upgrading Elasticsearch to a newer version will solve various ES-related problems -- or will be subsumed by future work in a more generalized way.

RhinosF1 removed a project: Discovery-Search.
RhinosF1 subscribed.

Re-opening tasks and removing from team workboard per IRC feedback given yesterday and discussion with MPham.

This is more or less the same as T40395, I suggest closing this one as a duplicate and continue the discussion on the other one which is older.