MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus Wiki The-West DE
Zur Navigation springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
if ($('.item_container').length!==0) {
if ($('.item_container').length!==0) {
     $('.item_container').each(function() {
     $('.item_container').each(function() {
         $(this).append('<img src="https://westde.innogamescdn.com/images/items/' + $(this).attr('data-url') + '">');
         $(this).append('<img src="//westde.innogamescdn.com/images/items/' + $(this).attr('data-url') + '">');
     });
     });
     $.getScript("https://wiki.the-west.de/wiki/Test.js?action=raw");
     $.getScript("https://wiki.the-west.de/wiki/Popup.js?action=raw");
}
}


mw.config.set('tableSorterCollation', {'ä':'ae', 'ö':'oe', 'ß':'ss', 'ü':'ue'});
mw.config.set('tableSorterCollation', {'ä':'ae', 'ö':'oe', 'ß':'ss', 'ü':'ue'});

Version vom 17. August 2020, 21:48 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */
$('.tbbox-logo').wrap('<a href="/"></a>');
//Popup item
$('.tbbox-logo').wrap('<a href="/wiki/Main_Page"></a>');
if ($('.item_container').length!==0) {
    $('.item_container').each(function() {
        $(this).append('<img src="//westde.innogamescdn.com/images/items/' + $(this).attr('data-url') + '">');
    });
    $.getScript("https://wiki.the-west.de/wiki/Popup.js?action=raw");
}

mw.config.set('tableSorterCollation', {'ä':'ae', 'ö':'oe', 'ß':'ss', 'ü':'ue'});