mediawiki-extensions-Visual.../modules
Timo Tijhof a34ccc2f3b mw.ViewPageTarget.init: Reduce duplication around getTarget() calls
De-duplicate the logic of:
* Call showLoading()
* Call getTarget()
* Call activate()
* Bind always(hideLoading)

Also use then() instead of done() on getTarget() so that failures
propagate to the always() handler. Previously the interface would
indefinitely be in a loading state if target fails to load.

Change-Id: I002322beaae64c0de96457eb56dbc68a5fc16369
2015-02-22 15:30:25 +00:00
..
ve-mw mw.ViewPageTarget.init: Reduce duplication around getTarget() calls 2015-02-22 15:30:25 +00:00
ve-wmf/i18n Localisation updates from https://translatewiki.net. 2015-02-20 22:30:25 +01:00