hoo added a subscriber: hoo.
hoo added a comment.

Should probably use the `SpecialSearchResultsAppend` hook for injecting the 
HTML.

For searching a TermIndex from `ClientStore::getTermIndex` should be used. 
`TermIndex::getTopMatchingTerms` on labels and aliases will provide the 
`TermIndexEntry` including the ItemIds of the Items to additionally list on the 
result page (see also `TermIndexSearchInteractor` which does something similar).

The entries should be shown as labels linked to the ArticlePlaceholder pages of 
the respective ItemIds. The description should be shown below the linked labels 
to give additional details.


TASK DETAIL
  https://phabricator.wikimedia.org/T109438

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucie, hoo
Cc: hoo, Ricordisamoa, Lydia_Pintscher, Nemo_bis, Bugreporter, Lucie, Aklapper, 
Wikidata-bugs, aude



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to