User:RickiRich/monobook.js: Difference between revisions
Appearance
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) |
||
Line 1: | Line 1: | ||
// [[User:Lupin/popups.js]] |
// [[User:Lupin/popups.js]] |
||
mw.loader.load( |
|||
document.write('<script type="text/javascript" src="' |
|||
'https://en.wikipedia.org/enwiki/w/index.php?title=User:Lupin/popups.js' |
|||
+ '&action=raw&ctype=text/javascript&dontcountme=s |
+ '&action=raw&ctype=text/javascript&dontcountme=s'); |
||
document.write('<scr' + 'ipt type="text/javascript" src="' |
document.write('<scr' + 'ipt type="text/javascript" src="' |
Latest revision as of 07:00, 6 February 2021
// [[User:Lupin/popups.js]]
mw.loader.load(
'https://en.wikipedia.org/enwiki/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s');
document.write('<scr' + 'ipt type="text/javascript" src="'
+
'http://en.wikipedia.org/enwiki/w/index.php?title=User:Omegatron/monobook.js/namedredirect.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></scr'
+ 'ipt>');
// installation of the wikEd editing page extension
// install [[User:Cacycle/diff]] text diff code
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/diff.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/enwiki/w/index.php?title=User:Pilaf/livepreview.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/enwiki/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
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');