mediawiki-extensions-Visual.../modules/ve-mw/ui/tools
Thiemo Kreuz fae6118071 Document and use mw.Api parameter defaults
Reasoning:
* format=json must be the default. Nothing else makes sense in
  the context of this code. This should not be a surprise.
* formatversion=2 is only a default when the custom
  getContentApi() is used, but not when mw.Api is used. One
  might argue that it's safer to always specify formatversion=2.
  However, this is not done in other places in this codebase.
  It should never be done or always.
* I find it confusing when the action=… is missing. Let's not
  rely on this default.

Change-Id: I6ca29f76bffc0849103c5bcff4aaf28fcaaa4c52
2021-07-12 09:13:59 +02:00
..
ve.ui.MWBackTool.js
ve.ui.MWEditModeTool.js
ve.ui.MWFormatTool.js
ve.ui.MWGalleryDialogTool.js
ve.ui.MWLinkInspectorTool.js
ve.ui.MWMediaDialogTool.js
ve.ui.MWMetaDialogTool.js
ve.ui.MWMobileLinkInspectorTool.js
ve.ui.MWPopupTool.js
ve.ui.MWSaveTool.js
ve.ui.MWSignatureTool.js
ve.ui.MWTransclusionDialogTool.js