Community Wishlist/Wishes/Make tiny edits (typos etc) easier/de

This page is a translated version of the page Community Wishlist/Wishes/Make tiny edits (typos etc) easier and the translation is 22% complete.
Make tiny edits (typos etc) easier Open

Wunsch bearbeiten Diesen Wunsch diskutieren

Beschreibung

99% of my edits are typo/spelling/grammar fixes. It is unwieldy to have to load the edit page, find the same spot in the text, and make the fix, only to then have to find the spot in the article again to continue reading. This unwieldiness is, of course, amplified on mobile.

I'm envisaging a feature that would allow me to select a stretch of text and get a text box inline with the text where I would edit the wiki text of just that small fragment. This would allow me to make small edits without leaving the page and without losing my reading position.

Here is an outline of an algorithm that could achieve this:

  • First, attempt to find the selected text in the wiki text verbatim. In many cases, this is sufficient and finds a unique match. If multiple matches are found, inform the user.
  • If no matches are found, split the selected text into thirds and attempt to find the first and last third. If still no matches, use a recursive subdivision similar to binary search until a unique match can be found where the start and end of the selection match and the interim text contains wiki formatting.
  • Once the appropriate span of text is found, the inlined form elements should include its wiki text as a hidden element. That way, the submit handler can find the correct text fragment even if another part of the article has since been edited by someone else.
  • Das eingebundene Formularelement sollte genau dann mehrzeilig sein, wenn der Wiki-Text des Fragments eine neue Zeile enthält

Zugewiesener Schwerpunktbereich

Nicht zugewiesen.

Art des Wunsches

Feature-Anfrage

Verwandte Projekte

Alle Projekte

Betroffene Nutzer

gelegentiche, nicht besessene Redakteure

Weitere Details

  • Erstellt: 04:15, 28 July 2024 (UTC)
  • Letzte Aktualisierung: 03:08, 9 August 2024 (UTC)
  • Autor: Timwi (talk)