MediaWiki: Common.js: Unterschied zwischen den Versionen
Aus LehramtsWiki
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(45 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */ | /* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */ | ||
// Enable cache! | |||
$.ajaxSetup({cache:true}); | |||
//addOnloadHook( createTab ); | |||
jQuery(function ($) { | |||
jQuery.getScript("https://fragbela.zlb-uni-due.de/assets/jquery-ui/jquery-ui.min.js"); | |||
}); | |||
function | |||
// load bela injector | |||
} | jQuery(function ($) { | ||
const url = window.location.toString(); | |||
/ | if(!url.includes('&action=edit') && !url.includes('&action=submit')) { | ||
jQuery.getScript("https://fragbela.zlb-uni-due.de/scripts/bela-injector.js"); | |||
} else { | |||
return; | |||
} | |||
}); | |||
//BeLa Live Button for chat | |||
jQuery(function ($){ | |||
jQuery.getScript('https://lehramtswiki.uni-due.de/extensions/TweekiStyles/js/BeLaLiveButton.js'); | |||
}); | |||
jQuery(function ($){ | |||
jQuery.getScript('https://lehramtswiki.uni-due.de/extensions/TweekiStyles/js/WikiScripts.js') | |||
}); |
Aktuelle Version vom 13. Mai 2025, 10:14 Uhr
/* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */ // Enable cache! $.ajaxSetup({cache:true}); //addOnloadHook( createTab ); jQuery(function ($) { jQuery.getScript("https://fragbela.zlb-uni-due.de/assets/jquery-ui/jquery-ui.min.js"); }); // load bela injector jQuery(function ($) { const url = window.location.toString(); if(!url.includes('&action=edit') && !url.includes('&action=submit')) { jQuery.getScript("https://fragbela.zlb-uni-due.de/scripts/bela-injector.js"); } else { return; } }); //BeLa Live Button for chat jQuery(function ($){ jQuery.getScript('https://lehramtswiki.uni-due.de/extensions/TweekiStyles/js/BeLaLiveButton.js'); }); jQuery(function ($){ jQuery.getScript('https://lehramtswiki.uni-due.de/extensions/TweekiStyles/js/WikiScripts.js') });