Jump to content

User:Iritscen/vector.js: Difference between revisions

XEB is loading twice, once on global level and once on user level
(oops, missed these two globals)
(XEB is loading twice, once on global level and once on user level)
Line 2: Line 2:
// The onlyinclude and pre tags below allow me to transclude the enclosed code onto the XEB docs page
// The onlyinclude and pre tags below allow me to transclude the enclosed code onto the XEB docs page
//<onlyinclude><pre>
//<onlyinclude><pre>
if (mw.config.get('wgAction') === 'edit' || mw.config.get('wgAction') === 'submit' || mw.config.get('wgPageName') === 'Special:Upload')
/*if (mw.config.get('wgAction') === 'edit' || mw.config.get('wgAction') === 'submit' || mw.config.get('wgPageName') === 'Special:Upload')
{
{
   XEBOrder="0,1,U,S,F,I1,I2,J1,J2,D,C,D1,4,A,R1,R2,2,3,K,T,Y1,Y2,Z,E1,5,AI,G,8,P,T1,O,H,FS,9,V,N,B,BF,BV";
   XEBOrder="0,1,U,S,F,I1,I2,J1,J2,D,C,D1,4,A,R1,R2,2,3,K,T,Y1,Y2,Z,E1,5,AI,G,8,P,T1,O,H,FS,9,V,N,B,BF,BV";
Line 9: Line 9:


   mw.loader.load('/w/index.php?title=MediaWiki:Common.js/edit.js&action=raw&ctype=text/javascript');
   mw.loader.load('/w/index.php?title=MediaWiki:Common.js/edit.js&action=raw&ctype=text/javascript');
}//</pre></onlyinclude>
}*///</pre></onlyinclude>


// Use test JS if we're on a test page
// Use test JS if we're on a test page