Page MenuHomePhabricator

MediaWiki-SearchComponent
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

Issues relating to the search engine in MediaWiki core. This includes API, backend code, and user interfaces relating to Special:Search, Special:PrefixIndex, Special:AllPages, and OpenSearch.

For the search engine on Wikipedia and sister projects, see CirrusSearch instead.

Maintained by: Discovery-Search

Neueste Aktivität

Tue, Jul 30

ReleaseTaggerBot added a project to T344806: cirrussearch-ignored-headings is used in WikiTextStructure: MW-1.43-notes (1.43.0-wmf.17; 2024-08-06).
Tue, Jul 30, 2:00 PM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Technical-Debt, Patch-For-Review, MediaWiki-Search, Discovery-Search
gerritbot added a comment to T344806: cirrussearch-ignored-headings is used in WikiTextStructure.

Change #951900 merged by jenkins-bot:

[mediawiki/core@master] WikiTextStructure: Drop message fallback to old cirrussearch message

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

Tue, Jul 30, 1:50 PM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Technical-Debt, Patch-For-Review, MediaWiki-Search, Discovery-Search

Mon, Jul 29

gerritbot added a comment to T344806: cirrussearch-ignored-headings is used in WikiTextStructure.

Change #1057978 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CirrusSearch@master] i18n: Drop 'cirrussearch-ignored-headings', now unused

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

Mon, Jul 29, 11:50 PM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Technical-Debt, Patch-For-Review, MediaWiki-Search, Discovery-Search
dr0ptp4kt moved T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search from needs triage to watching / waiting on the Discovery-Search board.
Mon, Jul 29, 3:33 PM · Discovery-Search, MediaWiki-Search, Wikimedia-production-error
dr0ptp4kt updated subscribers of T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search.

@MarkTraceur is this possibly for media search for your team?

Mon, Jul 29, 3:33 PM · Discovery-Search, MediaWiki-Search, Wikimedia-production-error

Fri, Jul 26

Jdlrobson removed a project from T369810: On Commons the special search does not use full width: Web-Team-Backlog.
Fri, Jul 26, 1:58 AM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons

Thu, Jul 25

Krinkle moved T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search from Untriaged to Jul 2024 on the Wikimedia-production-error board.

Indeed, Rdbms is detecting this and reporting it. It's not causing it. It's not clear which component is causing it, but they seem to have Search as common referer, perhaps we can investigate from there to see what it is?

Thu, Jul 25, 3:24 PM · Discovery-Search, MediaWiki-Search, Wikimedia-production-error

Wed, Jul 24

WMDE-Fisch moved T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result from Sprint Backlog to Tech Review on the WMDE-TechWish-Sprint-2024-07-24 board.
Wed, Jul 24, 2:59 PM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)
WMDE-Fisch added a project to T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result: WMDE-TechWish-Sprint-2024-07-24.
Wed, Jul 24, 2:49 PM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)

Mon, Jul 22

Gehel moved T369810: On Commons the special search does not use full width from needs triage to watching / waiting on the Discovery-Search board.
Mon, Jul 22, 1:45 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons

Fri, Jul 19

TJones updated subscribers of T329834: Cannot search partial Javanese script titles.

This has been rolling around in my head for a while and something related came up today, so I wanted to jot down some notes to my future self, or to anyone else who may work on this.

Fri, Jul 19, 3:59 PM · CirrusSearch, Discovery-Search, MediaWiki-Search

Tue, Jul 16

Kghbln added a comment to T231827: Data too long for column 'si_title'.

@Paladox It would be fantastic if you could continue your work.

Tue, Jul 16, 7:04 PM · affects-Miraheze, Patch-For-Review, Discovery-Search, MediaWiki-Search
GMikesell-WMF updated the task description for T367375: Search page doesn't work in dark mode.
Tue, Jul 16, 6:26 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
GMikesell-WMF added a comment to T367375: Search page doesn't work in dark mode.

@Jdlrobson "Search" is white in PROD and fail contrast while Test.Wiki was black (as seen in my previous test)

Tue, Jul 16, 6:25 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
AUgolnikova-WMF moved T369810: On Commons the special search does not use full width from Triage to MediaSearch on the Structured-Data-Backlog board.
Tue, Jul 16, 8:23 AM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons

Mon, Jul 15

TheDJ changed the status of T107875: Use InnoDB engine for searchindex table in MySQL from Open to Stalled.

This is currently blocked on all our testcases relying on tables to be cloneable, but innoDB cannot create a TEMPORARY table of a table that has a FULLTEXT index.

Mon, Jul 15, 7:18 PM · User-TheDJ, Patch-Needs-Improvement, MediaWiki-Installer, MediaWiki-Search
TheDJ changed the status of T249976: Convert searchindex UNIQUE to PK from Open to Stalled.
Mon, Jul 15, 7:18 PM · Patch-For-Review, User-TheDJ, MediaWiki-Search, Discovery-Search, Platform Team Workboards (External Code Reviews), Schema-change
TheDJ changed the status of T231827: Data too long for column 'si_title' from Open to Stalled.
Mon, Jul 15, 7:18 PM · affects-Miraheze, Patch-For-Review, Discovery-Search, MediaWiki-Search
Gehel added projects to T369810: On Commons the special search does not use full width: Web-Team-Backlog, Structured-Data-Backlog.
Mon, Jul 15, 3:22 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons

Thu, Jul 11

egardner updated subscribers of T369810: On Commons the special search does not use full width.

Hey @Prototyperspective, these sound like reasonable ideas for how to improve the user experience here, so I want to bring this to the attention of the Structured Data team (who are the official maintainers of this feature AFAIK). @AUgolnikova-WMF or @Sannita may be able to move this task to the appropriate place for triaging. I will say that I think the team's current focus is on improving UploadWizard, so this might not be an immediate priority.

Thu, Jul 11, 10:56 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Prototyperspective added a comment to T369810: On Commons the special search does not use full width.

Thanks for CCing. @egardner Yes of course. The Media search is much better. However, there are several problems with it due to which in practice one often has to resort to the Special search. The better solution would be to improve Media search further so that Special search is not needed anymore at all (that would be separate issues). Two main problems with it are that Cat-a-lot (which is very useful especially on WMC) does not work in Media search and that it doesn't have this dropdown for search operators.

Thu, Jul 11, 10:06 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
egardner added a comment to T369810: On Commons the special search does not use full width.

Hi @Prototyperspective – are you familiar with Special:MediaSearch on commons? Here's an example of it in action:

Thu, Jul 11, 4:38 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Aklapper reopened T369810: On Commons the special search does not use full width as "Open".

CC'ing more folks who were involved in this change to get another opinion in this ticket.

Thu, Jul 11, 3:51 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Prototyperspective added a comment to T369810: On Commons the special search does not use full width.

I already knew about this research and agree with the findings and what it means for Wikipedia. I don't think it applies here much or at all because these are search results. The user usually just glances over them, like their filetitles and thumbnails. The special search looks quite broken currently and there could at least be settings to make use full width (actually on Wikipedia there now seems to be a reading view setting for width so I guess the same could be used here).

Thu, Jul 11, 2:54 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Aklapper closed T369810: On Commons the special search does not use full width as Declined.

the space should be used until a preview is shown there, just like with the modern not-broken wall-of-images-view Media search results (example) which use all available width until an item is clicked for preview

Thu, Jul 11, 2:49 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Prototyperspective reopened T369810: On Commons the special search does not use full width as "Open".

@Aklapper That only relates to what would be needed for this problem to be fixed – in specific that the default for WMC needs to be different than other Wikimedia sites, eg site-specific changes on top of the default page layout that makes it use a wider width.

Thu, Jul 11, 2:38 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Aklapper added a comment to T369810: On Commons the special search does not use full width.

The empty space is used for interwiki search results or previews in other cases. Page layout shouldn't differ across pages, thus empty space in this case when there are no interwiki search results or previews.

Thu, Jul 11, 12:52 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Prototyperspective added a comment to T369810: On Commons the special search does not use full width.

@Aklapper I don't think this should be closed and it seems way to quick to close it – I don't understand your explanation. When I click on a file in these search results the page is opened instead of a preview showing on the right. Whether or not it's intentional doesn't make it any better, if anything it would be a bigger problem and indicate that it would be easier to fix. And remains the case that the Special search UI is broken. Could you please clarify what you mean in the sense of why you think this is not a valid issue?

Thu, Jul 11, 12:39 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Prototyperspective reopened T369808: The Commons search "deepcategory" operator often does not work (Deep category query returned too many categories) as "Open".

@Aklapper That is not true. It does work well here for example (which has been very useful to find files missing in the cat) and this category contains thousands of files.

Thu, Jul 11, 12:29 PM · Discovery-Search, CirrusSearch, Commons
Aklapper merged task T369808: The Commons search "deepcategory" operator often does not work (Deep category query returned too many categories) into T194449: Support negatives for the deepcategory keyword in AdvancedSearch.
Thu, Jul 11, 12:21 PM · Discovery-Search, CirrusSearch, Commons
Aklapper added a comment to T369808: The Commons search "deepcategory" operator often does not work (Deep category query returned too many categories).

The operator works but AFAIK negation is currently not supported.

Thu, Jul 11, 12:20 PM · Discovery-Search, CirrusSearch, Commons
Prototyperspective edited projects for T369808: The Commons search "deepcategory" operator often does not work (Deep category query returned too many categories), added: MediaWiki-Search; removed Advanced-Search.
Thu, Jul 11, 12:17 PM · Discovery-Search, CirrusSearch, Commons
Aklapper closed T369810: On Commons the special search does not use full width as Declined.

Assuming the total width on the screenshot is between 1440px and 720px, mw-search-results-container intentionally defines to use 7/12 for content, 1/12 space, and 4/12 for interwiki results and search previews (which doesn't apply in the screenshot above, thus the emptiness in this special case) since https://gerrit.wikimedia.org/r/c/mediawiki/core/+/902677 . Rating consistency across wikis higher than this special case, I'm declining this request.

Thu, Jul 11, 12:16 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons
Aklapper edited projects for T369810: On Commons the special search does not use full width, added: MediaWiki-Search; removed Advanced-Search.

Removing tag as this is unrelated to the Advanced-Search interface not shown in the screenshot.

Thu, Jul 11, 12:14 PM · SDAW-MediaSearch, Structured-Data-Backlog, MediaWiki-Search, Discovery-Search, Commons

Wed, Jul 10

WMDE-Fisch moved T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result from Sprint Backlog to Tech Review on the WMDE-TechWish-Sprint-2024-07-10 board.
Wed, Jul 10, 1:13 PM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)
WMDE-Fisch added a project to T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result: WMDE-TechWish-Sprint-2024-07-10.
Wed, Jul 10, 12:50 PM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)

Jul 3 2024

Pppery removed a project from T35488: Defining namespaces in SearchableNamespaces is double work: good first task.
Jul 3 2024, 2:17 AM · Discovery-Search, MediaWiki-Search

Jul 2 2024

thiemowmde placed T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result up for grabs.
Jul 2 2024, 7:56 AM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)
thiemowmde added projects to T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result: Unplanned-Sprint-Work, WMDE-TechWish-Sprint-2024-06-26.
Jul 2 2024, 7:55 AM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)

Jul 1 2024

Gehel moved T24774: Should be possible to customize the search profiles. from needs triage to search-icebox on the Discovery-Search board.
Jul 1 2024, 3:18 PM · Discovery-Search, Discovery-ARCHIVED, MediaWiki-Search

Jun 28 2024

ovasileva closed T367375: Search page doesn't work in dark mode as Resolved.

Looks good. Resolving.

Jun 28 2024, 2:39 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search

Jun 27 2024

gerritbot added a project to T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result: Patch-For-Review.
Jun 27 2024, 5:57 PM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)
gerritbot added a comment to T323345: Vector search does unnecessary redirects (including a double redirect) when clicking a search result.

Change #1050438 had a related patch set uploaded (by Jayden Bailey; author: Jayden Bailey):

[mediawiki/extensions/AdvancedSearch@master] Rework AdvancedSearch's explicit namespacing to use history.pushState instead of 302 redirects

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

Jun 27 2024, 5:57 PM · WMDE-TechWish-Sprint-2024-07-24, WMDE-TechWish-Sprint-2024-07-10, WMDE-TechWish-Sprint-2024-06-26, Unplanned-Sprint-Work, Patch-For-Review, WMDE-TechWish-Maintenance, Advanced-Search, MediaWiki-Search, Desktop Improvements (Vector 2022)
Jdrewniak assigned T367375: Search page doesn't work in dark mode to ovasileva.
Jun 27 2024, 4:40 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
GMikesell-WMF placed T367375: Search page doesn't work in dark mode up for grabs.
Jun 27 2024, 3:51 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
Seb35 lowered the priority of T24774: Should be possible to customize the search profiles. from Medium to Low.

This is already possible with the hook SpecialSearchProfiles instead of a config parameter or a MediaWiki:Sidebar-like alternative, so it should be clearer here what is really wanted (I’m aware the original author probably does not follow this task, so the question is to people interested to this task).

Jun 27 2024, 9:40 AM · Discovery-Search, Discovery-ARCHIVED, MediaWiki-Search

Jun 26 2024

Jdlrobson updated the task description for T367375: Search page doesn't work in dark mode.
Jun 26 2024, 10:59 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
Jdlrobson added a comment to T367375: Search page doesn't work in dark mode.
Jun 26 2024, 10:58 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
Stashbot added a comment to T367375: Search page doesn't work in dark mode.

Mentioned in SAL (#wikimedia-operations) [2024-06-26T20:50:34Z] <jdrewniak@deploy1002> Finished scap: Backport for [[gerrit:1049972|Enable user pages and select special pages in dark mode (1.43.0-wmf.11) (T366364 T366375 T367375 T367581 T367582 T367583)]] (duration: 08m 09s)

Jun 26 2024, 8:50 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search
Stashbot added a comment to T367375: Search page doesn't work in dark mode.

Mentioned in SAL (#wikimedia-operations) [2024-06-26T20:44:55Z] <jdrewniak@deploy1002> jdlrobson, jdrewniak: Backport for [[gerrit:1049972|Enable user pages and select special pages in dark mode (1.43.0-wmf.11) (T366364 T366375 T367375 T367581 T367582 T367583)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Jun 26 2024, 8:45 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), FY2023-24-WE 2.1 Typography and palette customizations, Discovery-Search, SDAW-SearchVue, Web-Team-Backlog (FY2023-24 Q4 Sprint 6), MediaWiki-Search, Advanced-Search