User:CloudNine/monobook.js: Difference between revisions

Content deleted Content added
m comment out for now
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
(6 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]]
 
// Script from [[User:Lupin/editcount.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';
 
// installation of the wikEd editing page extension
 
// install [[User:Cacycle/diff]] text diff code
+ mw.loader.load('httphttps://en.wikipedia.org/w/index.php?title=User:LupinCacycle/editcountdiff.js'
document.write('<script type="text/javascript" src="'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Pilaf/Live_Preview]] page preview tool
Line 28 ⟶ 22:
 
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer
+ mw.loader.load('httphttps://en.wikipedia.org/w/index.php?title=User:Cacycle/RegExTypoFix.js'
document.write('<script type="text/javascript" src="'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/RegExTypoFix.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Cacycle/wikEd international]] translation here
 
// install [[User:Cacycle/wikEd]] editing page extension
+ mw.loader.load('httphttps://en.wikipedia.org/w/index.php?title=User:Cacycle/diffwikEd.js'
document.write('<script type="text/javascript" src="'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// Script from [[User:Omegatron/monobook.js/addlink.js]]
importScript('User:Omegatron/monobook.js/addlink.js'); //[[User:Omegatron/monobook.js/addlink.js]]
// Script from [[User:LupinDr_pda/editcountprosesize.js]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
 
importScript('User:Ais523/topcontrib.js');
 
 
 
importScript('User:AzaToth/morebits.js');
// [[User:Outriggr/metadatatest.js]]
//importScript('User:OutriggrAWeenieMan/metadatatestfurme.js');
//assessmentMyProjects=["Songs","WikiProjectSongs"];