mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +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 |
||
---|---|---|
.. | ||
annotations | ||
metaitems | ||
models | ||
nodes |