mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Bartosz Dziewoński 25019d7f55 Fix encoding to roundtrip links without 'rawTitle'/'origTitle'
Our encoding for the hrefs like "./Foo" that we send to Parsoid
differed slightly from how Parsoid outputs them, so to avoid dirty
diffs, we had to store the original ones we received from Parsoid
and send them back if they were unchanged.

Change the encoding to match Parsoid's exactly (by referring to the
Parsoid source code), and then remove 'rawTitle'/'origTitle'.

On a historical note, 'rawTitle'/'origTitle' were originally added to
fix other issues with links, which I hope are long behind us:
* bb45d984ca (T145978)
* fda2e6c1b5 (T44140)

Follow-up to 362df66b47, which removed
some other old stuff from the handling of Parsoid links.

Bug: T325766
Change-Id: I0ad0a655380eb2fb29b5ac01e2e399ac550ce34a
2023-01-07 20:00:42 +00:00
..
ve.dm.MWAlienAnnotationNode.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.dm.MWAlienBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWAlienExtensionNode.js Allow alien extension node encapsulation wrappers to be of various types 2020-10-20 11:44:54 -04:00
ve.dm.MWAlienInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWAnnotationNode.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.dm.MWBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWBlockImageNode.js Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
ve.dm.MWEntityNode.js MWEntityNode: Remove now-unnecessary allowedRdfaTypes 2022-03-08 11:27:29 -06:00
ve.dm.MWExtensionNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWGalleryCaptionNode.js
ve.dm.MWGalleryImageCaptionNode.js
ve.dm.MWGalleryImageNode.js Add a checkbox to use the image caption as the alt text for galleries 2022-07-22 15:46:55 -04:00
ve.dm.MWGalleryNode.js Improve visual diff of gallery when image replaced 2022-05-21 04:09:41 +02:00
ve.dm.MWHeadingNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWImageCaptionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWImageNode.js Support the upcoming mw:File typeof 2022-06-10 14:29:31 -04:00
ve.dm.MWIncludesNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWInlineImageNode.js Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
ve.dm.MWLanguageVariantBlockNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageVariantHiddenNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageVariantInlineNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageVariantNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWMagicLinkNode.js Allow more 'rel' values on external links in Parsoid output 2022-10-26 01:07:08 +02:00
ve.dm.MWNumberedExternalLinkNode.js Allow more 'rel' values on external links in Parsoid output 2022-10-26 01:07:08 +02:00
ve.dm.MWPreformattedNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWPreNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWSignatureNode.js MWSignatureNode: Use template's rendering hash object 2020-07-08 22:18:35 +02:00
ve.dm.MWTableNode.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.dm.MWTransclusionBlockNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWTransclusionInlineNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWTransclusionNode.js Update VE core submodule to master (86de64d69) 2022-04-20 23:45:31 +01:00
ve.dm.MWTransclusionTableCellNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00