mediawiki-extensions-Visual.../modules/ve-mw
Adam Wight 1e96f47563 Fix config argument to explicitly pass api
These constructors only take a single argument, so the api config was
being ignored and the input would fall back to the default `new
mw.Api()`.

The order is changed so that the "api" config is merely a default,
and can be changed by whatever comes later.

The UserInputWidget currently doesn't accept an "api" config. This
will be fixed in Ifb1dd9d. But this is not a blocker. Merging this
patch here before the other won't have any consequence. It will just
continue to ignore the "api" config. ;-)

Change-Id: I15c35216c717576c6767927cac06ef72198fc95a
2020-09-01 09:36:24 +02:00
..
ce build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
dm build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
init Cast fallback revision_id to a number so it validates 2020-08-31 11:04:20 -05:00
preinit Merge "Fix URL in console warning" 2020-08-25 21:13:55 +00:00
tests build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Fix config argument to explicitly pass api 2020-09-01 09:36:24 +02:00