wikimedia-gadgets / Edit-Request-Wizard

This project aims at developing a Wikipedia user script that shows a form for submitting a Wikipedia edit request, with high-quality guidance and error messages, suitable for use by beginners.
MIT License
6 stars 7 forks source link

User interface for selecting a location in the article needs an upgrade #4

Closed enterprisey closed 2 years ago

enterprisey commented 2 years ago

possibilities:

enterprisey commented 2 years ago

I favor making each sentence in the article into a clickable <span> and asking the user to click one. It seems like the most obvious way to approach this problem.

It could be done by splitting the article's text at each period (.). Unfortunately, abbreviations exist (like U.S.A.). We would need to find a list of them. We can also make a special rule that periods inside a wikilink don't count. These strategies together would probably result in a decent result.