Page MenuHomePhabricator

[ES-M3]: Propagate labels_es with data
Closed, ResolvedPublic

Description

The new search field (labels_es) should be filled with data in EntitySchemaContentHandler::getDataForSearchIndex. After this is wired up the search fields should be propagated for all existing entity schemas in beta and production, probably by purging all entity schema pages (this can be done either, preferably, via the API or via the PurgePage maintenance script).

This can be verified using action=cirrusdump.

In our PoC this was done in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/EntitySchema/+/1071938/1/src/MediaWiki/Content/EntitySchemaContentHandler.php.

Event Timeline

hoo renamed this task from Propagate labels_es with data to [ES-M3]: Propagate labels_es with data.Oct 2 2024, 9:07 AM

Change #1080044 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/EntitySchema@master] WIP: add labels data

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

Change #1081187 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/EntitySchema@master] WIP: Use LabelsProviderFieldDefinitions

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

Change #1081187 abandoned by Lucas Werkmeister (WMDE):

[mediawiki/extensions/EntitySchema@master] WIP: Use LabelsProviderFieldDefinitions

Reason:

squashed into I7d2d06f8ea

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

Sj subscribed.
Sj unsubscribed.

Change #1080044 merged by jenkins-bot:

[mediawiki/extensions/EntitySchema@master] Add labels data for CirrusSearch

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