mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Add specific message for empty ref group list 2013-10-02 14:01:37 -07:00
dm Convert try/catch uses of mw.Title to newFromText 2013-10-09 21:21:25 +00:00
init Make the save dialog an actual dialog 2013-10-07 15:59:00 -07:00
test [browser test] update references for proper iframes, new workflow 2013-10-09 13:29:58 -06:00
ui ui.MWLinkTargetInputWidget: Fix crash on invalid input 2013-10-09 21:29:48 +00:00