Bug ID: 62602
           Summary: Global JS only loads in debug mode
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: javascript
          Severity: normal
          Priority: Unprioritized
         Component: GlobalCssJs
       Web browser: ---
   Mobile Platform: ---

I created a global.js page at
and it works when I visit any of these pages in debug mode

BUT the global code is not loaded if I'm not in debug mode:

I tested using Google Chrome 33.0.1750.149 and Firefox 27.0.1.

On Chrome I tried CTRL+F5, SHITFT+F5, CTRL+SHIFT+R, and also with the option
"Disable cache (while DevTools is open)", and nothing worked.

Google Chrome shows the following link in the Sources panel:*

Its content is:
/* cache key:
metawiki:resourceloader:filter:minify-js:7:25e245bf16e0037a7248f80fd384e529 */

If I remove the "&version=20140310T100305Z&*" from the URL, the content changes
style="color: #cc0000; font-size: 150%;">Your <a
scripts</a> were loaded!</strong>');});someTest1='global.js';var
/* cache key:
metawiki:resourceloader:filter:minify-js:7:101b9d1a9e616e1315c94ace38794a15 */

Is this a problem in the extension? Or maybe it needs some configuration
related to Resource Loader?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to