mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 11:46:55 +00:00
c1d281f0dc
Changes: - added acceptLanguage as a config option passed to both mwApi and restbaseApi, by default code will use the language defined in `wgContentLanguage` config variable. The `wgContentLanguage` is always defined (see ResourceLoaderStartUpModule::getConfigSettings()) so there is no need for checking the variable existence. The new logic was tested both on MediaWiki API and Restbase API Bug: T198619 Change-Id: I1cb31f1999fd674a8b870b2b5effb92ed3dfaa1f |
||
---|---|---|
.. | ||
index.test.js | ||
mediawiki.test.js | ||
rest.test.js |