Page MenuHomePhabricator

Add a configuration setting which disables search completely
Open, MediumPublicFeature

Description

It seems I can disable Special:Search somehow but cannot remove link to opensearch_desc.php and the search box in HTML generated by default skins.


Version: unspecified
Severity: enhancement

Details

Reference
bz27974

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:28 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz27974.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

It seems I can disable Special:Search somehow

What is 'somehow' ? How did you disable it ?

Why does this have a high importance ?

(In reply to comment #1)

Why does this have a high importance ?

Because it piqued my interest and I use that field to help me keep track of stuff.

(In reply to comment #1)

What is 'somehow' ? How did you disable it ?

$wgDisableInternalSearch

This prevents Special:Search's registration and expects an extension to provide its own Special:Search, leaving many broken links if no extension provides one.

Liagent, can you please give us examples of breakage so we can actually fix them?

I am unwilling to spend hours trying to find all the issues you have already identified <:-) Thanks!

(In reply to comment #4)

Liagent, can you please give us examples of breakage so we can actually fix
them?

I am unwilling to spend hours trying to find all the issues you have already
identified <:-) Thanks!

Did you mean the breakages when no extension provides a search page?

debt moved this task from needs triage to search-icebox on the Discovery-Search board.
debt subscribed.

This could be something that a volunteer could do, maybe.

Deskana set Security to None.
Deskana subscribed.

Given that Discovery's primary responsibility is to search on Wikimedia wikis, where we will probably never want this feature, Discovery will not be working on this. Removing the Discovery-related tags for clarity.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.