User:Jonathan Kovaciny/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'); |
||
popupImages=false; |
popupImages=false; |
Latest revision as of 07:55, 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');
popupImages=false;
imagePopupsForImages=false;
popupRevertSummaryPrompt=true;
popupPreviewFirstParOnly=false;
popupMaxPreviewSentences=8;
popupMaxPreviewCharacters=1200;
popupNavLinkSeparator=' · ';
importScript('User:AzaToth/twinkle.js');
importScript('User:Splarka/fetchredirects.js');