mediawiki-extensions-Visual.../modules/ve-mw/tests/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 tests: Use ve.test.utils.newMwEnvironment() 2022-03-10 01:44:11 +00:00
datatransferhandlers Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
dialogs Remove $wgVisualEditorTransclusionDialogInlineDescriptions feature flag 2022-06-15 12:09:47 +02:00
inspectors tests: Use ve.test.utils.newMwEnvironment() 2022-03-10 01:44:11 +00:00
layouts Remove dysfunctional "no outline" mode from template dialog 2022-07-25 14:45:18 +00:00
pages Remove invisible stuff from BookletLayout OutlineItems 2022-06-20 09:31:53 +00:00
widgets Differ between setting and highlighting a parameter 2022-07-12 10:18:56 +00:00
ve.ui.DiffElement.test.js tests: Use ve.test.utils.newMwEnvironment() 2022-03-10 01:44:11 +00:00