mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions Use new config option signature when building sequences 2022-03-11 17:12:54 +00:00
commands Move var declarations inline 2022-03-01 17:50:24 +00:00
contextitems Always sanitize href attribute in UI 2022-11-30 18:26:37 +00:00
datatransferhandlers Move var declarations inline 2022-03-01 17:50:24 +00:00
dialogs Always sanitize href attribute in UI 2022-11-30 18:26:37 +00:00
elements Code cleanup in ExpandableContentElement 2022-08-15 08:40:11 +00:00
inspectors Link inspector: Avoid focussing a input when it isn't visible 2022-11-18 13:25:40 +00:00
layouts Merge "Enable template editor toolbar deeper in the stack" 2022-09-12 09:52:26 +00:00
pages ve.ui.MWTemplatePage: Use <p> instead of <hr> in the description 2022-12-29 16:14:47 +00:00
styles ve.ui.MWTemplatePlaceholderPage: Move label to real label for accessibility 2022-12-29 12:40:11 +00:00
tools ve.ui.MWPopupTool: Update usage of 'mediawiki.feedback' 2022-12-12 19:43:14 +01:00
widgets Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
ve.ui.MWAriaDescribe.js
ve.ui.MWCommandRegistry.js
ve.ui.MWExtensionWindow.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWSequenceRegistry.js Use new config option signature when building sequences 2022-03-11 17:12:54 +00:00
ve.ui.MWSurface.js
ve.ui.MWWikitextCommandRegistry.js Use boolean RegExp.test() instead of .match() where possible 2022-03-24 11:04:43 +01:00
ve.ui.MWWikitextDataTransferHandlerFactory.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWWikitextSequenceRegistry.js
ve.ui.MWWikitextSurface.js
ve.ui.MWWikitextTransferRegistry.js