Community Wishlist Survey 2022/Search/Highlight and scroll to search term on result page

Highlight and scroll to search term on result page

  • Problem: When I search the wiki for a term and select an page to read, I may not immediately see where that term is used on the page.
  • Proposed solution: Highlight and scroll to where the search term is mentioned on the result page
  • Who would benefit: Readers who use the search feature
  • More comments:
  • Phabricator tickets:
  • Proposer: Cinokat (talk) 09:52, 18 January 2022 (UTC)

Discussion

I think the user means that if they search for a term, and the term is mentioned somewhere in a result, that when opening the result, they want the search term to be highlighted and scrolled to. —TheDJ (talkcontribs) 11:24, 18 January 2022 (UTC)

That's how that reads to me as well. --Izno (talk) 19:40, 18 January 2022 (UTC)
I've edited the Problem statement (mostly JI, plus some minor grammar improvements) to reflect this understanding (which is also how I read the origiinal). Trey314159 (talk) 17:38, 24 January 2022 (UTC)
I have also interpreted it this way and taken it a bit further to fill out all the other fields. Pinging Cinokat. Let us know know if we've misunderstood you. Thanks, MusikAnimal (WMF) (talk) 05:12, 27 January 2022 (UTC)
When you google a phrase and then click on a link to a Wiki page, the page scrolls to the phrase and the phrase is highlighted. It is probably speicific to Google.com + Chrome browser but definitely a very useful feature. So I guess implementing similar functionality inside wiki engine is welcome. SSneg (talk) 09:49, 2 February 2022 (UTC)
Google has two features for this. Their snippets do the highlighting, with text fragment highlighting. Next to Chrome, this is currently also in development for Safari, possibly shipping in Safari 16 later this year. In addition, they sometimes use sections results. Here, if they have a highlight in a particular section, they show the multiple subsections in the page (say History, Politics, Geography etc), and then if you click the result for such a section, it takes you there using a normal H2 anchor. —TheDJ (talkcontribs) 16:46, 7 February 2022 (UTC)

Voting

  •   Support Omidinist (talk) 19:04, 28 January 2022 (UTC)
  •   Support Would be a very useful addition as it will save having to do a browser search. Keith D (talk) 19:19, 28 January 2022 (UTC)
  •   Support — Draceane talkcontrib. 22:11, 28 January 2022 (UTC)
  •   Support JopkeB (talk) 06:51, 29 January 2022 (UTC)
  •   Support Larshei (talk) 09:03, 29 January 2022 (UTC)
  •   Support --Spiros71 (talk) 12:57, 29 January 2022 (UTC)
  •   SupportBruce1eetalk 14:47, 29 January 2022 (UTC)
  •   SupportElioPrrl (talk) 15:03, 29 January 2022 (UTC)
  •   Support --SSneg (talk) 21:15, 29 January 2022 (UTC)
  •   Support Libcub (talk) 23:24, 30 January 2022 (UTC)
  •   Support Uanfala (talk) 13:36, 31 January 2022 (UTC)
  •   Support JAn Dudík (talk) 21:20, 31 January 2022 (UTC)
  •   Support Shooterwalker (talk) 22:19, 31 January 2022 (UTC)
  •   Support With the amendment that there also needs to be a very prominent and obvious way to deactivate the highlighting. For those times on Wikipedia when you search for "insurance", then click on Actuary (48 occurrences) or Lloyd's of London (95 occurrences). FeRDNYC (talk) 22:54, 31 January 2022 (UTC)
  •   Support Thanks, EDG 543 (message me) 14:40, 1 February 2022 (UTC)
  •   Support Thingofme (talk) 14:56, 1 February 2022 (UTC)
  •   Support useful Meikel1965 (talk) 21:05, 1 February 2022 (UTC)
  •   Support It would be helpful for a lot of users, because some of the wikipedia pages are too large and it becomes very difficult to find needy contents so this feature will be helpful to find searched contents easily of a page. A.S. Universal (talk) 05:50, 2 February 2022 (UTC)
  •   Support KingAntenor (talk) 06:58, 2 February 2022 (UTC)
  •   Support Daniel Case (talk) 06:05, 4 February 2022 (UTC)
  •   Support - Darwin Ahoy! 21:01, 4 February 2022 (UTC)
  •   Support Good idea, but it´s realisation should be eg. a new button next to regular search result (for those who not want to scroll to search term) :) Tomáš Reichel (talk) 21:34, 4 February 2022 (UTC)
  •   Support Szymonel (talk) 21:36, 4 February 2022 (UTC)
  •   SupportThanks for the fish! talkcontrib (he/him) 21:57, 5 February 2022 (UTC)
  •   Support Ayumu Ozaki (talk) 01:31, 7 February 2022 (UTC)
  •   Support Ryse93 (talk) 12:50, 7 February 2022 (UTC)
  •   Support I'm a fan, I think this would be useful —TheDJ (talkcontribs) 16:46, 7 February 2022 (UTC)
  •   Support Rots61 (talk) 23:15, 8 February 2022 (UTC)
  •   Support Veracious (talk) 06:47, 9 February 2022 (UTC)
  •   Support ~Cybularny Speak? 23:37, 9 February 2022 (UTC)
  •   Support Meiræ 22:11, 10 February 2022 (UTC)
  •   Support Forrestkirby (talk) 15:32, 11 February 2022 (UTC)