Biurokraci, Moderatorzy czatu, checkuser, commenters, Moderatorzy (CommentStreams), gitkursanci, Administratorzy interfejsu, Moderatorzy, odkrywajacy, Page Ownership admin, swiadomikursanci, Administratorzy, Redaktorzy widżetów
969
edycji
Swiadomosc (dyskusja | edycje) (dodałem skrypt ciasteczek) |
Swiadomosc (dyskusja | edycje) mNie podano opisu zmian |
||
| Linia 21: | Linia 21: | ||
document.head.appendChild(scriptElement); | document.head.appendChild(scriptElement); | ||
})(); | })(); | ||
/* test ciasteczek */ | |||
mw.loader.using('mediawiki.util', function () { | |||
$(document).ready(function () { | |||
var customLinkHtml = '<a href="#" onclick="illow.showWidget()" class="bannerLink">Privacy Control Center</a>'; | |||
// Create a new div to hold the custom link | |||
var customFooterDiv = $('<div id="custom-footer-link"></div>').html(customLinkHtml); | |||
// Append this div to the footer | |||
$('#footer, .mw-footer').append(customFooterDiv); // Adjust the selector as needed for your skin | |||
}); | |||
}); | |||
edycji