mediawiki-extensions-Visual.../modules/ve-mw/ui/widgets
Timo Tijhof d9153a2f1d ui.MWLinkTargetInputWidget: Fix crash on invalid input
Though the initialisation works since core has been fixed, there
are still plently of cases where we take real user input that can
genuinely be invalid.

Most notably, you couldn't make a link to [[.com]] because the
link input widget would crash on an exception from mw.Title.

Even after core was fixed (and ".com" is now valid), one still
couldn't make that link. This time because '.' is an invalid title,
and we create a Title object for that while typing ".com".

ve.ui.MWLinkTargetInputWidget#getLookupMenuItemsFromData:
* Guarded against mw.Title throwing by using newFromText
  and checking it first.

ve.ui.MWLinkInspector#static.legalTitle:
* Removed in favour of checking whether newFromText returns a
  truthy value.

Change-Id: I580bfccb83f86be3ad7e83d31f0834e1cde7df9c
2013-10-09 21:29:48 +00:00
..
ve.ui.MWCategoryInputWidget.js Convert try/catch uses of mw.Title to newFromText 2013-10-09 21:21:25 +00:00
ve.ui.MWCategoryItemWidget.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ui.MWCategoryPopupWidget.js Toolbar action widgetization and UI refactoring 2013-10-04 16:26:13 -07:00
ve.ui.MWCategoryWidget.js Toolbar action widgetization and UI refactoring 2013-10-04 16:26:13 -07:00
ve.ui.MWLinkTargetInputWidget.js ui.MWLinkTargetInputWidget: Fix crash on invalid input 2013-10-09 21:29:48 +00:00
ve.ui.MWMediaResultWidget.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ui.MWMediaSearchWidget.js Merge "'Config' -> 'Configuration' in all comments" 2013-09-26 19:02:30 +00:00
ve.ui.MWParameterResultWidget.js Merge "'Config' -> 'Configuration' in all comments" 2013-09-26 19:02:30 +00:00
ve.ui.MWParameterSearchWidget.js Merge "'Config' -> 'Configuration' in all comments" 2013-09-26 19:02:30 +00:00
ve.ui.MWReferenceResultWidget.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ui.MWReferenceSearchWidget.js Merge "'Config' -> 'Configuration' in all comments" 2013-09-26 19:02:30 +00:00
ve.ui.MWTitleInputWidget.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00