User:Gz260/monobook.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// [[:en:User:Lupin/popups.js]]
// Traduction de [[Utilisateur:Leag|Leag]] : [[Utilisateur:Leag/Navigation popups|Navigation popups]]

if (wgUserLanguage=="fr"){
document.write('<script type="text/javascript" src="' 
    + '//fr.wikipedia.org/w/index.php?title=User:Leag/popups-strings-fr.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
document.write('<script type="text/javascript" src="' 
             + '//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

/*
function InterfaceEnFrancais()
{
var l = document.getElementById('bodyContent');
if (!l) return;
if (wgUserLanguage=="fr") return;
l.innerHTML = '<div class="plainlinks" style="text-align:right;"><small><a href="/w/index.php?title=' + wgPageName + '&action=' + wgAction + '&uselang=fr">interface en français</a></small></div>' + l.innerHTML;
}
$(InterfaceEnFrancais);
*/