https://bugzilla.wikimedia.org/show_bug.cgi?id=40288

--- Comment #6 from [email protected] 2012-10-09 19:17:02 UTC ---
The same randomness happens after I did a small edit on this one:
https://pt.wikipedia.org/w/index.php?title=MediaWiki:Gadget-SVGPNG.js/Core.js&diff=32510433

The content of 
https://bits.wikimedia.org/pt.wikipedia.org/load.php?modules=ext.gadget.SVGPNGCore
keeps alternating between
----
mw.loader.implement("ext.gadget.SVGPNGCore",function(){(function($,mw){'use
strict';function SVGThumbs(){var
thumbu,svgAltSize,p,l,i,info,file=document.getElementById('file'),i18n={'en':'This
image rendered as PNG in other sizes: ','pt':'Esta imagem pode ser renderizada
em PNG em outros tamanhos:
'};if(!file){return;}i18n['en-gb']=i18n.en;i18n['pt-br']=i18n.pt;mw.messages.set({'svg-thumbs-desc':i18n[mw.config.get('wgUserLanguage')]||i18n.en});thumbu=file.getElementsByTagName('IMG')[0].getAttribute('src');if(!thumbu){return;}svgAltSize=function(w,title){var
path=thumbu.replace(/\/\d+(px-[^\/]+$)/,'/'+w+'$1'),a=document.createElement('A');a.setAttribute('href',path);a.appendChild(document.createTextNode(title));return
a;};p=document.createElement('p');p.className='SVGThumbs';p.appendChild(document.createTextNode(mw.msg('svg-thumbs-desc')));l=[200,500,1000,2000];for(i=0;i<l.length;i++){p.appendChild(svgAltSize(l[i],l[i]+'px'));if(i<l.length-1){p.appendChild(document.createTextNode(',
'));
}}p.appendChild(document.createTextNode('.'));info=$(file.parentNode).find('div.fullMedia').get(0);if(info){info.appendChild(p);}}if(mw.config.get('wgNamespaceNumber')===6&&mw.config.get('wgIsArticle')&&mw.config.get('wgTitle').match(/\.svg$/i)){$(SVGThumbs);}}(jQuery,mediaWiki));;},{},{});

/* cache key:
ptwiki:resourceloader:filter:minify-js:7:1421d720ab6b220bea3b870ec442b54c */
----

and

----
mw.loader.implement("ext.gadget.SVGPNGCore",function(){;},{},{});

/* cache key:
ptwiki:resourceloader:filter:minify-js:7:1d3a5dc1bab123e9cf7227f2ddfc35c9 */
----

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to