Page MenuHomePhabricator

Change property suggester to use hook instead of monkey patching
Closed, ResolvedPublic8 Estimated Story Points

Event Timeline

Change 458187 had a related patch set uploaded (by Jonas Kress (WMDE); owner: Jonas Kress (WMDE)):
[mediawiki/extensions/PropertySuggester@master] Change property suggester to use hook instead of monkey patching

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

Change 459505 had a related patch set uploaded (by Jonas Kress (WMDE); owner: Jonas Kress (WMDE)):
[mediawiki/extensions/Wikibase@master] Teach EntitySelector._combineResults() to evaluate rank

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

Change 459505 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Teach EntitySelector._combineResults() to evaluate rank

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

hoo updated the task description. (Show Details)

I believe now that https://gerrit.wikimedia.org/r/459505 is merged we can go ahead.

Jonas' -2

We need to first teach the hook to evaluate ranking information, otherwise we have a running condition that randomly sorts suggestions.

is, I believe, satisfied by the above patch. Since @Jonas is now hiking and also away I'm going to go ahead and remove the -2.

I have tested it locally and am happy that in my dev setup that the suggestions are sorted by rank