mediawiki-extensions-Visual.../modules/ve-mw/init
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
..
apiresponsecache Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
styles Make .ve-init-mw-target-surface styles not apply to nested non-target surfaces 2021-06-04 20:48:18 +00:00
targets Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00
ve.init.mw.ArticleTargetEvents.js Update save failure logging for EditAttemptStep schema, simplify code 2021-01-15 20:06:20 +01:00
ve.init.mw.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.init.mw.Platform.init.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.Platform.js Merge "Implement mwPlatform#decodeEntities" 2021-01-28 20:57:40 +00:00
ve.init.mw.SaveErrorHandler.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.init.mw.trackSubscriber.js Track whether an event was oversampled 2021-02-02 13:02:01 +01:00
ve.init.mw.ViewportZoomHandler.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00