mediawiki-extensions-Visual.../modules/ve-mw/dm
Mahmoud Al-Qudsi 29256f1c37 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:02:44 +00:00
..
annotations Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
metaitems Fix exception editing cross-wiki redirects 2024-08-29 23:02:44 +00:00
models Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
nodes MWBlockImageNode: Re-use existing captionData slice 2024-01-23 15:18:28 +00:00
.eslintrc.json
ve.dm.MWWikitextSurface.js Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
ve.dm.MWWikitextSurfaceFragment.js Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00