User:Feydey/vector.js: Difference between revisions

Content deleted Content added
moved from ms
 
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
(One intermediate revision by one other user not shown)
Line 1:
importScript('User:Amalthea/VectorMenuToTabs.js');
// [[User:Lupin/popups.js]]
 
// [[User:Lupin/popups.js]]
document.write('<script type="text/javascript" src="'
 
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
mw.loader.load(
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
+ 'httphttps://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
popupFixRedirs=true;