MediaWiki:Common.js
Aller à la navigation
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
$('.tbbox-logo').wrap('<a href="/wiki/Accueil"></a>'); if ($('.item_container').length!==0) { $('.item_container').each(function() { $(this).append('<img src="' + $(this).attr('data-url').replace('westfrs','westfr') + '">'); }); $(function() { $.getScript("https://wiki.the-west.fr/wiki/Popup.js?action=raw"); }); } if ($('#navbar').length !== 0) { $('#navbar a').removeAttr("title"); } // Embed youtube videos if ($('.youtube_video').length !== 0) { $('.youtube_video').each(function() { $(this).html('<iframe width="100%" height="100%" src="https://www.youtube.com/embed/' + $(this).attr('data-id') + '?cc_load_policy=1&cc_lang_pref=' + $(this).attr('data-subtitles') + '" frameborder="0" allowfullscreen></iframe>'); }); }