mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
2852f6368f
Add ve.dm.MWInternalLinkAnnotation.static.newFromTitle to build an appropriate internal link annotation from a mw.Title. Tweaked some method signatures to avoid repeated reparsing of the title text. Also refactor ve.dm.MWInternalLinkAnnotation.static.getTargetDataFromHref to explicitly return a boolean indicating whether the result was determined to be an internal link. Bug: T64816 Change-Id: I74385d7b3ede1794398dabb749185f4080509b99 |
||
---|---|---|
.. | ||
ve.dm.MWExternalLinkAnnotation.js | ||
ve.dm.MWInternalLinkAnnotation.js | ||
ve.dm.MWNowikiAnnotation.js |