mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw a0167c08c7 Clean up LookupInputWidget subclasses and use new functionality
MWCategoryInputWidget:
* Use @inheritdoc
* Don't modify data parameter in getLookupCacheItemFromData()

MWLinkTargetInputWidget:
* Remove this.choosing in favor of setLookupsDisabled()
* Explicitly close menu on choose
* Remove manual emission of change events
** This looks ridiculous, it doesn't seem to be necessary,
   and it causes infinite event loops. But I'm very curious
   why this was added in the first place.
* Remove onLookupInputChange override that is now unnecessary
* Use {} rather than [] for fake empty result
* Prevent programmatic focus from opening the menu

MWTitleInputWidget:
* On choose, close menu and disable lookups while changing value
* Use @inheritdoc
* Remove mentions of "template" from getTitle() documentation

Bug fixed:
* When choosing a suggestion in MWTitleInputWidget,
  new suggestions would be loaded and the menu would reopen

Depends on Iecae9b582 in oojs-ui.

Change-Id: I716f99bb464a5cebd4f17701197f768e4e0e02a9
2014-11-03 10:39:03 -08:00
..
ce Create mwTables with wikitable attribute by default 2014-10-29 12:52:24 -07:00
dm Remove more references to ve.bind 2014-10-30 20:55:44 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-10-30 23:32:21 +01:00
init Update "page was last modified on date, at time" footer line when saving 2014-10-31 01:00:04 +00:00
tests Use ClassAttributeNode mixin in MWBlockImageNode 2014-10-29 18:28:33 +00:00
ui Clean up LookupInputWidget subclasses and use new functionality 2014-11-03 10:39:03 -08:00