Page MenuHomePhabricator

Allow for deeplinking text (quote functionality)
Open, Needs TriagePublicFeature

Description

Feature summary Allow for a Mediawiki functionality that can link to focused and highlighted text from the URL.

Use case(s): A very crude idea is something like this. Link=Title#Section+quote="Text_that_gets searched_in_that_section_and_highlighted"

Benefits: The typical use would be for easy WP fact-checking something but text highlighting can be a versatile function to have in general.

Event Timeline

See possibly related task T12476 (for highlight requests)

A less crude idea for implementation is to maybe use the already present functionality of advanced search. Make such functionality be easily accessible through URLs by giving commands to it, something like this:

Link=Title#Section+Search=this_exact_text (or we could even omit the section part if we wanted to search the whole page)

Basically take what we already have and create a button that can easily create a simple short link for the text you selected and add highlight functionality to it. Then you can share that link which basically is a search link prompt and the same search will be replicated in the other's machine and they will get the same text highlighted in their screen.