Merge "resourceloader: Migrate use of 'raw' modules to 'raw' requests"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 19 Jun 2019 12:40:12 +0000 (12:40 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 19 Jun 2019 12:40:12 +0000 (12:40 +0000)
1  2 
includes/OutputPage.php

diff --combined includes/OutputPage.php
@@@ -1723,7 -1723,7 +1723,7 @@@ class OutputPage extends ContextSource 
        /**
         * Get the files used on this page
         *
 -       * @return array (dbKey => array('time' => MW timestamp or null, 'sha1' => sha1 or ''))
 +       * @return array [ dbKey => [ 'time' => MW timestamp or null, 'sha1' => sha1 or '' ] ]
         * @since 1.18
         */
        public function getFileSearchOptions() {
                                ),
                                [ 'html5shiv' ],
                                ResourceLoaderModule::TYPE_SCRIPTS,
-                               [ 'sync' => true ],
+                               [ 'raw' => '1', 'sync' => '1' ],
                                $this->getCSPNonce()
                        ) .
                        '<![endif]-->';