Topic on Extension talk:CirrusSearch

Highlighting search term in end page

5
Tinss (talkcontribs)

Is there a way to highlight the search term in the page chosen as a match by the end-user and jump the browser to that section? Given my (limited) knowledge of the MediaWiki architecture, that would be a tall order to implement, but in javascript, it could be relatively easy.

Thanks!

EBernhardson (WMF) (talkcontribs)

Implementing through the backend directly would indeed be a bit painful. Some javascript that parses the the highlight and finds candidate(s) on the result page seems like a good hack-a-thon project for someone.

Tinss (talkcontribs)

Ok. I've put that in my todo list. Once the widget is done, I'll share it with the MediaWiki community.

Nischayn22 (talkcontribs)

Hi @Tinss, Did you actually create this?

Tinss (talkcontribs)

Sorry no, I haven't had the time to do so.

Reply to "Highlighting search term in end page"