User:KHammerstein (WMF)/sandbox/Highlights

Brief Description
Allow users to highlight sections of text in a page. Most highlighted sections will be surfaced on that page.

Problem it solves
Personal highlights: Long articles often have great information but it can be difficult to navigate through. If users could highlight text they find interesting, they will be able to easily return to those sections. I would also find this helpful to mark sections of an article that I want to come back and edit.

Public highlights: These highlights could benefit other users who are also navigating through long articles. We can display the “popular highlights” of articles, so that even users who don’t highlight themselves can view interesting sections.

Creating a highlight

 * 1) Select text or choose "Highlight" in the menu of that section.
 * 2) Highlight
 * 3) The text will now appear with a highlight color behind it

Accessing your highlights
The highlight color will be easily visible as you skim the text of that article.

They could also be accessed in other locations, such as
 * 1) In the table of contents of an article.
 * 2) Perhaps a section called "My highlights" accessible from the menu.
 * 3) Perhaps from a new section in your watchlist.

Viewing other users' highlights
If multiple users have highlighted a similar section of text, that text could be surfaced into a card near the beginning of an article.

Challenges
Showing “popular highlights” would require that multiple users highlight the same thing. That may not happen often enough with free-form text selection. Possible solution: provide a way to quickly select entire sentence or paragraph.

Once an article is edited, the highlight might become invalid. Possible solution 1: Update the highlight to reflect changes. Possible solution 2: Do not update the highlight to reflect changes. If the text does change, change color to gray / or otherwise differentiate. (This might encourage vandalism - a vandal could add content and then highlight it to further surface the vandalism.)