Page MenuHomePhabricator

The default wiki-wide search on Incubator is broken (specific subwiki preference does work)
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

To reproduce: try searching for any term on Incubator which should yield some results, e.g. "Incubator". If you have set a test-wiki preference in your preferences (the possibility comes from the Incubator extension), you will get results within that test-wiki i.e. Wx/xxx/ pages. But if you have the general maintenance setting or no setting there, the search will never find any pages.

Event Timeline

Hydriz subscribed.

The extension is quite outdated due to lots of regression, so a rewrite is probably needed to bring it back up-to-date.

DannyS712 changed the subtype of this task from "Task" to "Bug Report".Oct 28 2020, 3:21 AM

Anything we can do as a temporary fix?

Krinkle subscribed.

The description of the default user preference is to search on "All (sub)wikis". Yet, it seems in practice, this means no wikis at all.

This is affecting maintenance work on the wiki, such as searching through templates, user scripts, interface messages, gadgets, etc.

For example: insource:/MyLanguage/ returns no results, when it is probably meant to return at least https://incubator.wikimedia.org/wiki/MediaWiki:Aboutpage.

I've tried dozens of variations, including without namespace filter, and without using insource, but still no results, no matter what I try.

Krinkle renamed this task from Search on Incubator is broken if you don't have a specific test-wiki set to The default wiki-wide search on Incubator is broken (specific subwiki preference does work).Jun 21 2021, 7:08 PM

Change 710609 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[mediawiki/extensions/WikimediaIncubator@master] Don't apply title prefix filter in Special:Search for unset project

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

Change 710609 merged by jenkins-bot:

[mediawiki/extensions/WikimediaIncubator@master] Don't apply title prefix filter in Special:Search for unset project

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

Krinkle reopened this task as Open.

Oops, I didn't see the Needs reporting state.

This is only solved for the "None/All" preference, not for the "Maintenance" wiki preference.

What should it do when set to the Maintenance wiki preference?

The same as for None/All, i.e. don't apply a prefix but search the whole wiki.

Change 722678 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[mediawiki/extensions/WikimediaIncubator@master] Don't apply title prefix filter in Special:Search for site project

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

Change 722678 merged by jenkins-bot:

[mediawiki/extensions/WikimediaIncubator@master] Don't apply title prefix filter in Special:Search for site project

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