I created a global.js page at
http://meta.wikimedia.beta.wmflabs.org/w/index.php?oldid=551
and it works when I visit any of these pages in debug mode
http://en.wikipedia.beta.wmflabs.org/wiki/Special:BlankPage?debug=1
http://meta.wikimedia.beta.wmflabs.org/wiki/Special:BlankPage?debug=1
BUT the global code is not loaded if I'm not in debug mode:
http://en.wikipedia.beta.wmflabs.org/wiki/Special:BlankPage
http://meta.wikimedia.beta.wmflabs.org/wiki/Special:BlankPage
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.
On
http://en.wikipedia.beta.wmflabs.org/wiki/Special:BlankPage
Google Chrome shows the following link in the Sources panel:
http://bits.beta.wmflabs.org/meta.wikimedia.beta.wmflabs.org/load.php?debug=false&lang=en&modules=ext.globalcssjs.user&skin=vector&user=Helder.wiki&version=20140310T100305Z&*
Its content is:
mw.loader.implement("ext.globalcssjs.user",function(){},{},{});
/* cache key: metawiki:resourceloader:filter:minify-js:7:25e245bf16e0037a7248f80fd384e529 */
If I remove the "&version=20140310T100305Z&*" from the URL, the content changes to
mw.loader.implement("ext.globalcssjs.user",function(){$(function(){$('#mw-content-text').prepend('<strong style="color: #cc0000; font-size: 150%;">Your <a href="//meta.wikimedia.beta.wmflabs.org/w/index.php?title=Special:MyPage/global.js&action=edit">global scripts</a> were loaded!</strong>');});someTest1='global.js';var someTest2='global.js';window.someTest3='global.js';;},{},{});
/* 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?
Version: unspecified
Severity: normal