Differentiate Between Major and Minor Article Changes #149

otevřený
otevřeno před 5 roky uživatelem dustinwilson · 1 komentářů
Vlastník

Many applications simply show updated articles as new and unread ones which makes sense if the article actually changes a lot and is updated with a significant amount of information. In most cases articles are updated with fixed typos, and showing them as new articles isn't helpful at all.

What we maybe could do is use a levenshtein comparison between two articles and silently update articles that don't change much. We would just need to find a happy threshold.

Some things that might be difficult would be something like images and video where if the article is mostly images and/or video. Changing an image without changing its location doesn't affect this at all, and even adding a couple of images to it doesn't change the article's markup much either, so maybe weigh changes on images and video markup more?

Many applications simply show updated articles as new and unread ones which makes sense if the article actually changes a lot and is updated with a significant amount of information. In most cases articles are updated with fixed typos, and showing them as new articles isn't helpful at all. What we maybe could do is use a levenshtein comparison between two articles and silently update articles that don't change much. We would just need to find a happy threshold. Some things that might be difficult would be something like images and video where if the article is mostly images and/or video. Changing an image without changing its location doesn't affect this at all, and even adding a couple of images to it doesn't change the article's markup much either, so maybe weigh changes on images and video markup more?
dustinwilson added the
enhancement
feature
labels před 5 roky
jking added this to the Future milestone před 5 roky
jking okomentoval před 2 roky
Vlastník

Either relying on or importing a stripped-down version of https://github.com/jfcherng/php-levenshtein-distance might be the best way to calculate edit distance.

Either relying on or importing a stripped-down version of https://github.com/jfcherng/php-levenshtein-distance might be the best way to calculate edit distance.
Přihlaste se pro zapojení do konverzace.
No Milestone
No Assignees
2 účastníků
Oznámení
Termín dokončení

Žádný termín dokončení.

Závislosti

Tento úkol momentálně nemá žádné závislosti.

Načítá se…
Není zde žádný obsah.