mediawiki-extensions-Visual.../modules/ve-mw/dm/models
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
..
ve.dm.MWImageModel.js Representation of red-linked images in VE 2015-05-16 17:15:51 +01:00
ve.dm.MWMediaResourceProvider.js MWMediaResourceProvider: Use exist instead of bool check on API values 2015-06-11 17:29:36 +01:00
ve.dm.MWMediaResourceQueue.js MWMediaResourceProvider: Use exist instead of bool check on API values 2015-06-11 17:29:36 +01:00
ve.dm.MWParameterModel.js MWParameterPage: Show the field's example if it exists 2015-03-09 14:25:18 -07:00
ve.dm.MWReferenceModel.js Don't show placeholder references in lists 2015-05-06 19:15:20 +01:00
ve.dm.MWTemplateModel.js Remove use of ve.indexOf and ve.getObjectKeys 2015-03-10 17:28:00 +01:00
ve.dm.MWTemplatePlaceholderModel.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWTemplateSpecModel.js ve.dm.MWTemplateSpecModel: Account for data.maps being undefined 2015-06-02 01:48:21 +00:00
ve.dm.MWTransclusionContentModel.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWTransclusionModel.js jshint: Kill file-level globals and add "moment" to the list 2015-05-06 19:01:27 +00:00
ve.dm.MWTransclusionPartModel.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00