mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
7d5e5ec9a9
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 |
||
---|---|---|
.. | ||
ve.dm.MWImageModel.js | ||
ve.dm.MWMediaResourceProvider.js | ||
ve.dm.MWMediaResourceQueue.js | ||
ve.dm.MWParameterModel.js | ||
ve.dm.MWReferenceModel.js | ||
ve.dm.MWTemplateModel.js | ||
ve.dm.MWTemplatePlaceholderModel.js | ||
ve.dm.MWTemplateSpecModel.js | ||
ve.dm.MWTransclusionContentModel.js | ||
ve.dm.MWTransclusionModel.js | ||
ve.dm.MWTransclusionPartModel.js |