mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
fda2e6c1b5
MWInternalLinkAnnotation was normalizing spaces to underscores. This is bad. Instead, we now do the following: * Normalize underscores to spaces for display purposes * Store the original title without underscore/space mangling * If the user didn't change the title (display title === original title with s/_/ /g), use the original title. Otherwise use the user's title verbatim, without normalizing either underscores or spaces. Also, per a conversation with Gabriel, we now only restore hrefPrefix when we're also restoring origTitle, otherwise Parsoid will barf. Change-Id: Ia74a493b2bce96c9345b60ed692eeb2e43ebceff |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
ve.dm.Annotation.js | ||
ve.dm.AnnotationFactory.js | ||
ve.dm.BranchNode.js | ||
ve.dm.Converter.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.SurfaceFragment.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |