mediawiki-extensions-Visual.../modules/ve-mw
Mark A. Hershberger 7d5e5ec9a9 MWMediaResourceProvider: Use exist instead of bool check on API values
In the MediaWiki API, booleans exist or don't exist (with an empty string),
you can't check "if (bool)..." since that will always be false.  The API has
a newer formatversion=2 that fixes this but we're not using that yet.

Also update the defaultSource placeholder to match the API response. If one
would only update defaultSource without the 'if'-fix, one can reproduce T66822
on a local wiki (JSON-P request instead of JSON).

Bug: T66822
Change-Id: I5a8ab1136325c33c62982c0869fa14ca2fb26034
2015-06-11 17:29:36 +01:00
..
ce Stop using deprecated aliases for OO.ui.mixin.* 2015-06-10 20:25:04 +00:00
dm MWMediaResourceProvider: Use exist instead of bool check on API values 2015-06-11 17:29:36 +01:00
i18n Localisation updates from https://translatewiki.net. 2015-06-09 22:52:52 +02:00
init Unregister core image types 2015-06-02 14:36:14 +01:00
tests Unregister core image types 2015-06-02 14:36:14 +01:00
ui Stop using deprecated aliases for OO.ui.mixin.* 2015-06-10 20:25:04 +00:00