mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-26 21:13:01 +00:00
f83c5819bf
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
|
||
---|---|---|
.. | ||
ve.dm.MWAlienMetaItem.js | ||
ve.dm.MWCategoryMetaItem.js | ||
ve.dm.MWDefaultSortMetaItem.js | ||
ve.dm.MWDisplayTitleMetaItem.js | ||
ve.dm.MWFlaggedMetaItem.js | ||
ve.dm.MWHiddenCategoryMetaItem.js | ||
ve.dm.MWIndexMetaItem.js | ||
ve.dm.MWLanguageMetaItem.js | ||
ve.dm.MWNewSectionEditMetaItem.js | ||
ve.dm.MWNoContentConvertMetaItem.js | ||
ve.dm.MWNoEditSectionMetaItem.js | ||
ve.dm.MWNoGalleryMetaItem.js | ||
ve.dm.MWNoTitleConvertMetaItem.js | ||
ve.dm.MWRedirectMetaItem.js | ||
ve.dm.MWStaticRedirectMetaItem.js | ||
ve.dm.MWTOCMetaItem.js |