Warning: file_exists(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/vhosts/wikitoyes.org/:/tmp/:/gitinfo) in /var/www/vhosts/wikitoyes.org/httpdocs/includes/shell/CommandFactory.php on line 119
MediaWiki:Common.js: Unterschied zwischen den Versionen – WikiToYes

MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus WikiToYes
Wechseln zu:Navigation, Suche
Die Seite wurde neu angelegt: „Das folgende JavaScript wird für alle Benutzer geladen.: // Bootstrap 5 JavaScript laden, falls nicht vorhanden (function() { var script = document.createElement('script'); script.src = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"; script.async = true; document.head.appendChild(script); })();“
 
Keine Bearbeitungszusammenfassung
 
Zeile 7: Zeile 7:
   document.head.appendChild(script);
   document.head.appendChild(script);
})();
})();
/* BOOTSTRAP KOMPONENTEN ANPASSEN */
$(function() {
  $('.mw-custom-accordion-header').click(function() {
    $(this).next('.mw-custom-accordion-content').toggle();
    $(this).find('.toggle-icon').text(function(_, text) {
      return text === '▼' ? '▲' : '▼';
    });
  });
});

Aktuelle Version vom 16. Juli 2025, 15:03 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */
// Bootstrap 5 JavaScript laden, falls nicht vorhanden
(function() {
  var script = document.createElement('script');
  script.src = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js";
  script.async = true;
  document.head.appendChild(script);
})();

/* BOOTSTRAP KOMPONENTEN ANPASSEN */
$(function() {
  $('.mw-custom-accordion-header').click(function() {
    $(this).next('.mw-custom-accordion-content').toggle();
    $(this).find('.toggle-icon').text(function(_, text) {
      return text === '▼' ? '▲' : '▼';
    });
  });
});