mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Recognize ExtLink/URL and ExtLink/Numbered in LinkInspector
Change-Id: Ib13fd3396132695a844db6151296c52fa5f96032
This commit is contained in:
parent
5a40d90573
commit
826518c1e1
|
@ -84,7 +84,9 @@ ve.ui.LinkInspector.prototype.getFirstLinkAnnotation = function ( annotations )
|
|||
// Use the first one with a recognized type (there should only be one, this is just in case)
|
||||
if (
|
||||
annotations[hash].type === 'link/WikiLink' ||
|
||||
annotations[hash].type === 'link/ExtLink'
|
||||
annotations[hash].type === 'link/ExtLink' ||
|
||||
annotations[hash].type === 'link/ExtLink/Numbered' ||
|
||||
annotations[hash].type === 'link/ExtLink/URL'
|
||||
) {
|
||||
return annotations[hash];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue