„Benutzer:Oub/monobook.js“ – Versionsunterschied

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
KKeine Bearbeitungszusammenfassung
K Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
Zeile 1: Zeile 1:
// Install InstaView
// Install InstaView
document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Pilaf/instaview.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Pilaf/instaview.js&action=raw&ctype=text/javascript');
InstaView.conf.user.name = 'Oub';
InstaView.conf.user.name = 'Oub';
Zeile 15: Zeile 15:
// Include Live Preview...
// Include Live Preview...
document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js&action=raw&ctype=text/javascript');
// Now set everything up
// Now set everything up

Aktuelle Version vom 16. Mai 2022, 14:48 Uhr

 // Install InstaView
 mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Pilaf/instaview.js&action=raw&ctype=text/javascript');
 
 InstaView.conf.user.name = 'Oub';
 
 /* This is to keep track of who is using InstaView: [[User:Pilaf/instaview.js]] */
 
 /************ OLD STUFF *************
 
 // Live Preview customization,
 // edit this to your own liking.
 
 wpUserName   = 'Oub';   // User name to display in signatures
 wpShowImages = true;      // Enable downloading and displaying of images
 
 // Include Live Preview...
 mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js&action=raw&ctype=text/javascript');
 
 // Now set everything up
 window.onload = Main;
 
 function Main()
 {
  LivePreviewInstall();
  // You may include here other "extensions"
 }
 
 */