MediaWiki:Common.js: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Shisma
(caching .. 💩)
Zeile 1: Zeile 1:
 +
@import url('//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Tabs.js?action=raw&ctype=text/javascript');
 +
@import url('//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-TapToShow.js?action=raw&ctype=text/javascript');
 +
 
(function ($) {
 
(function ($) {
 
   $(function() {
 
   $(function() {
 
     var sidebarjs = $('<script type="text/javascript" />');
 
     var sidebarjs = $('<script type="text/javascript" />');
     sidebarjs.attr('src', 'http://de.memory-alpha.org/wiki/MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
+
     sidebarjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
 
     $('head').append(sidebarjs);
 
     $('head').append(sidebarjs);
 
   });
 
   });
 
})(jQuery);
 
})(jQuery);

Version vom 7. September 2019, 13:07 Uhr

@import url('//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Tabs.js?action=raw&ctype=text/javascript');
@import url('//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-TapToShow.js?action=raw&ctype=text/javascript');

(function ($) {
  $(function() {
    var sidebarjs = $('<script type="text/javascript" />');
    sidebarjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
    $('head').append(sidebarjs);
  });
})(jQuery);