v5.11.0
What's Changed
✨ New
- Manually marked lines. You can now mark any element as an Instant Diffs line by adding the
data-instantdiffs-lineattribute. Such elements get line detection (mwLineselector/closestTo) and the highlight transition styling, alongside the existing automatic detection of changelists, contributions and page history. - Arrow-link detection. Added an
endsWithmatching rule to link detection. Next/previous edit links are now recognized by their trailing arrow characters (→,←), improving prepend handling.
🔧 Improvements
- Removed the redundant changelist processing in
Page-ChangeListsthat added theinstantDiffs-lineclass to.mw-changeslist-lineelements — this is now covered by the unified line detection config. - Simplified node
idmatching inisMWLink()to useArray.includes(). - Cleaned up the
mwLinkPrependconfig and minor comment wording.
Full Changelog: v5.10.0...v5.11.0