When I try to load https://www.mediawiki.org/w/index.php?title=Help:Extension:Kartographer&veaction=edit I get Uncaught TypeError: Cannot read property 'replace' of null in console.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/VisualEditor | master | +2 -2 | MWExternalLinkAnnotation: Only match plain external <a>s with hrefs |
Event Timeline
Comment Actions
The problem is kartographer generates a link. Because there is no VE support for kartographer link mode it falls back to regular VE link handling, but kartographer generates no href, which is what is generating the exception. We should add a node for kartographer links, even just to say they are un-editable for now.
Comment Actions
Change 281183 had a related patch set uploaded (by Esanders):
Only detect plain external links if they have href's
Comment Actions
Change 281183 merged by jenkins-bot:
MWExternalLinkAnnotation: Only match plain external <a>s with hrefs