User:CloudNine/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
(21 intermediate revisions by 2 users not shown)
Line 1:
// [[User:Lupin/popups.js]]
 
mw.loader.load(
document.write('<script type="text/javascript" src="'
+ 'httphttps://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
popupFixDabs = true;
 
// Script from [[User:AndyZ/peerreviewer.js]]
//importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]
//document.write('<script type="text/javascript" src="'
 
// + 'http://en.wikipedia.org/w/index.php?title=User:AndyZ/peerreviewer.js'
// installation of the wikEd editing page extension
// + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Cacycle/diff]] text diff code
+ mw.loader.load('httphttps://en.wikipedia.org/w/index.php?title=User:LupinCacycle/editcountdiff.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Pilaf/Live_Preview]] page preview tool
//document.write('<script type="text/javascript" src="'
// + 'http://en.wikipedia.org/w/index.php?title=User:AndyZPilaf/peerreviewerlivepreview.js'
// + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/RegExTypoFix.js'
+ '&action=raw&ctype=text/javascript');
 
// install [[User:Cacycle/wikEd international]] translation here
 
// install [[User:Cacycle/wikEd]] editing page extension
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');
 
// Script from [[User:LupinOmegatron/editcountmonobook.js/addlink.js]]
importScript('User:Omegatron/monobook.js/addlink.js'); //[[User:Omegatron/monobook.js/addlink.js]]
// Script from [[User:Dr_pda/prosesize.js]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
 
importScript('User:Ais523/topcontrib.js');
 
 
 
importScript('User:AzaToth/morebits.js');
// Script from [[User:Lupin/editcount.js]]
importScript('User:AWeenieMan/furme.js');
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/editcount.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
popupEditCounterTool='custom';
popupEditCounterUrl='http://en.wikipedia.org/wiki/User:$1?ectarget=$1';