mediawiki-extensions-Visual.../modules/ve-mw/dm
Mahmoud Al-Qudsi f83c5819bf Fix exception editing cross-wiki redirects
As described in T326169, when editing a (manually created) cross-wiki redirect,
VisualEditor will throw a null dereference exception causing it to fail to load
in the browser (looking like it is just taking forever to load).

This patch prevents the exception from occurring by not attempting to write to
the null object.

Bug: T326169
Change-Id: I50fa803c7b4ce65dac1fe345431d8b8f9d0b3d61
(cherry picked from commit a9278f654b)
2024-08-29 23:04:31 +00:00
..
annotations Fix encoding to roundtrip links without 'rawTitle'/'origTitle' 2023-01-07 20:00:42 +00:00
metaitems Fix exception editing cross-wiki redirects 2024-08-29 23:04:31 +00:00
models Preserve classes on all file elements, not just broken images 2023-05-12 10:12:15 +00:00
nodes Port Parsoid's WTUtils::textContentFromCaption 2023-08-10 18:06:27 -04:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.dm.MWWikitextSurface.js
ve.dm.MWWikitextSurfaceFragment.js Avoid/simplify possibly slow regular expressions 2022-03-24 11:20:01 +01:00