mediawiki-extensions-Visual.../modules/ve-mw/ui/widgets
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.ui.MWAceEditorWidget.js Fix resize of MWAceEditorWidget when setting up 2022-03-18 22:30:54 +00:00
ve.ui.MWCategoryInputWidget.js
ve.ui.MWCategoryItemWidget.js
ve.ui.MWCategoryPopupWidget.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWCategoryWidget.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWEditSummaryWidget.js Fix typos 2022-08-05 10:00:54 +02:00
ve.ui.MWEducationPopupWidget.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWExternalLinkAnnotationWidget.js
ve.ui.MWGalleryGroupWidget.js
ve.ui.MWGalleryItemWidget.js Add a checkbox to use the image caption as the alt text for galleries 2022-07-22 15:46:55 -04:00
ve.ui.MWInternalLinkAnnotationWidget.js Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
ve.ui.MWLazyMultilineTextInputWidget.js
ve.ui.MWMediaInfoFieldWidget.js Use boolean RegExp.test() instead of .match() where possible 2022-03-24 11:04:43 +01:00
ve.ui.MWParameterCheckboxInputWidget.js Document some classes touched in the sidebar rewrite 2022-07-12 12:49:31 +02:00
ve.ui.MWPreTextInputWidget.js
ve.ui.MWTargetWidget.js Add 'vector-body' hack to TargetWidgets 2022-07-18 14:12:10 +01:00
ve.ui.MWTemplateTitleInputWidget.js Fix typos 2022-08-05 10:00:54 +02:00
ve.ui.MWTocWidget.js Replace mediawiki.Uri with native URL (easy cases) 2023-01-03 22:18:01 +01:00
ve.ui.MWTransclusionOutlineButtonWidget.js Simplify partly redundant findFirstSelectedItem implementation 2022-08-01 11:07:29 +00:00
ve.ui.MWTransclusionOutlineControlsWidget.js TemplateDialog: separate “Add template” messages 2022-12-22 15:08:31 +01:00
ve.ui.MWTransclusionOutlineParameterSelectWidget.js Start with last item when shift+tabbing into parameter list 2022-08-11 18:23:51 +00:00
ve.ui.MWTransclusionOutlineParameterWidget.js Tweaks to focus/scrolling code relative to sticky header 2022-08-02 11:41:23 +00:00
ve.ui.MWTransclusionOutlinePartWidget.js Use generic "outline item selected" event for top-level parts 2022-07-19 11:05:32 +00:00
ve.ui.MWTransclusionOutlinePlaceholderWidget.js Streamline button margin calculation for outline parts 2022-08-03 13:09:51 +02:00
ve.ui.MWTransclusionOutlineTemplateWidget.js Remove redundant "choose" event handler 2022-08-30 12:23:07 +02:00
ve.ui.MWTransclusionOutlineToggleUnusedWidget.js Minor fixes to template dialog related code documentation 2022-07-12 20:10:02 +02:00
ve.ui.MWTransclusionOutlineWidget.js Add missing call to .recalculateStickyHeaderHeight() 2022-08-30 11:57:23 +02:00
ve.ui.MWTransclusionOutlineWikitextWidget.js Streamline button margin calculation for outline parts 2022-08-03 13:09:51 +02:00