Page MenuHomePhabricator

Duplicate Links: reduce the scope of the check to only find duplicates within a single paragraph
Closed, ResolvedPublic

Description

Currently the duplicate links edit check finds duplicates within an entire section. This can be more complicated for the user to work out whether a duplicate should really be removed ("this is identical, but also three long paragraphs away..."), and is also more difficult to compare because it's more likely the links won't be visible at the same time.

We should reduce this so that we warn of duplicates within a single paragraph.

(We could expand to adjacent-paragraphs later, if we want...)

Event Timeline

Change #1235404 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/VisualEditor@master] DuplicateLinksEditCheck: change default scope to per-paragraph

https://gerrit.wikimedia.org/r/1235404

Could we do a data query to figure out how much this reduction of scope would reduce the number of instances in which this check is activated?

Unfortunately, this is not something it's easy to search on.

Change #1235404 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] DuplicateLinksEditCheck: change default scope to per-paragraph

https://gerrit.wikimedia.org/r/1235404

Ryasmeen edited projects, added: Verified; removed: Editing QA.