mediawiki-extensions-Visual.../modules/ve-mw/dm/metaitems
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.MWAlienMetaItem.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.dm.MWCategoryMetaItem.js Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
ve.dm.MWDefaultSortMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWDisplayTitleMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWFlaggedMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWHiddenCategoryMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWIndexMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWNewSectionEditMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWNoContentConvertMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWNoEditSectionMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWNoGalleryMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWNoTitleConvertMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWRedirectMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWStaticRedirectMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWTOCMetaItem.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00