resourceloader: Move 'mw.config' assignment from startup.js to mediawiki.js
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 25 Jul 2019 16:46:01 +0000 (17:46 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 25 Jul 2019 17:21:51 +0000 (18:21 +0100)
commita7017dbc0ab66d7db799a50594eed5848781aabf
tree914d5152172d3f619402ef7a69d231d2e55dce39
parentc6ebce6a7dff15431964aa3730cce4904ceaf2a3
resourceloader: Move 'mw.config' assignment from startup.js to mediawiki.js

Before this change, the startup module responds as follows:

   ```lang=js
   ... contents of startup/mediawiki.js:
   ...... mw.config = null;
   ...
   ... contents of startup/startup.js:
   ...... mw.config = new mw.Map( bool );
   ```

After this change:

   ```lang=js
   ... contents of startup/mediawiki.js:
   ...... mw.config = new mw.Map( bool );
   ...
   ... contents of startup/startup.js:
   ......
   ```

Change-Id: I97fea20f17c4865aa4740482f3054532038531f0
includes/resourceloader/ResourceLoaderStartUpModule.php
resources/src/startup/mediawiki.js
resources/src/startup/startup.js