mw.loader: Adding comment explaining MODULE_SIZE_MAX
authorKaldari <rkaldari@wikimedia.org>
Thu, 23 Feb 2017 21:44:03 +0000 (13:44 -0800)
committerKrinkle <krinklemail@gmail.com>
Thu, 23 Feb 2017 22:10:12 +0000 (22:10 +0000)
This informaiton was lost in Iedde8a3.

Change-Id: Ib884f3504c2a98537b919f78a043ae0b64a146cf

resources/src/mediawiki/mediawiki.js

index 94ad217..7872818 100644 (file)
                                        // Whether the store is in use on this page.
                                        enabled: null,
 
+                                       // Modules whose string representation exceeds 100 kB are
+                                       // ineligible for storage. See bug T66721.
                                        MODULE_SIZE_MAX: 100 * 1000,
 
                                        // The contents of the store, mapping '[name]@[version]' keys