MediaWiki:Common.js: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(44 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
// Das Script Common.js wird immer eingebunden und eignet sich deshalb zur Verknüpfung weiterer Scripte.
// Das Script Common.js wird immer eingebunden und eignet sich deshalb zur Verknüpfung weiterer Scripte.


mw.loader.load( 'http://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Querystring.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Ready.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'http://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Faq.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Highlight.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'http://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Datatables.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Datatables.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'http://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Labelauty.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Sprechstunde.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'http://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Highlight.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'http://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Webfont.js&action=raw&ctype=text/javascript' );
 
$( function() {
 
var strMarker = querystring.marker;
if (typeof(strMarker) !== 'undefined') {
var arrMarker = strMarker.split(' ');
 
// Suchbegriffe markieren
$('div#bodyContent').highlight(arrMarker, {element: 'span', className: 'marker'});
 
// Betroffene Fragen ausklappen
$('div.faq.unit').each( function() {
if ($(this).find('span.marker').length > 0){
$(this).addClass('preselection');
}
});
}
});
 
// Checkliste zurücksetzen
$( function() {
$( ".checklist .aktionen a#resetChecklist" ).click( function( ) {
$(".checklist :checkbox").each(function () {
$(this).removeAttr("checked");
})
} );
 
// Checklisten formatieren
// $(".checklist :checkbox").labelauty({ label: false });
});

Aktuelle Version vom 13. Juli 2023, 23:18 Uhr

// Das Script Common.js wird immer eingebunden und eignet sich deshalb zur Verknüpfung weiterer Scripte.

mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Ready.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Highlight.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Datatables.js&action=raw&ctype=text/javascript' );
mw.loader.load( 'https://wiki.llz.uni-halle.de/index.php?title=MediaWiki:Common.js/Sprechstunde.js&action=raw&ctype=text/javascript' );