Update check-edit-links logic and comments

What does this MR do?

Cleanup check-edit-links logic and docs, as a follow-up to !57810 (comment 387117213)

Related issues

Relates !57810 (comment 387117213)

Merge request reports

Loading