Page MenuHomePhabricator

Add a configuration setting which disables search completely
Open, NormalPublic

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 Normal.Nov 21 2014, 11:28 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz27974.
bzimport added a subscriber: Unknown Object (MLST).
liangent created this task.Mar 10 2011, 1:14 PM

(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?

hashar removed a subscriber: hashar.Jul 22 2016, 12:01 PM
Restricted Application added projects: Discovery, Discovery-Search. · View Herald TranscriptJul 22 2016, 12:01 PM
debt moved this task from needs triage to later on... on the Discovery-Search board.
debt added a subscriber: debt.

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

Deskana set Security to None.
Deskana added a subscriber: Deskana.

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.