Page MenuHomePhabricator

SearchResult is bad for adding properties
Open, MediumPublicFeature

Description

Adding new attributes to SearchResult and subclasses is a royal pain in the ass. Special:Search has to be screwed around with to handle this metadata in some UI way.

So this bug is two things. Clean up SearchResult to have a useful way of returning $randomMetadata and a way to display it.


Version: unspecified
Severity: enhancement

Details

Reference
bz67914

Related Objects

StatusSubtypeAssignedTask
OpenFeatureNone
OpenFeatureNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:42 AM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz67914.
bzimport added a subscriber: Unknown Object (MLST).

Yeah this needs a lot of code cleanup; let's spend some time at Wikimania looking at this stuff.

(In reply to Brion Vibber from comment #1)

let's spend some time at Wikimania looking at this stuff.

Did that happen or did reality bite? :)

https://gerrit.wikimedia.org/r/#/c/152727/ has a proof of concept partial implementation of a metadata array field which could have things stuck in it, but doesn't hook up to a backend yet.

I believe Chad did some general cleanup work as well which should be hiding somewhere...

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:23 PM