// -------------------------------------------------
// na podstawie skryptu Equadusa ze zmianami ABX-a
// -------------------------------------------------
var personalHeight = 0;
function addPersonalElement(el, url, label) {
addOnloadHook(function()
{
var elBefore = document.getElementById('pt-mytalk');
if ( personalHeight == 0 ) personalHeight = parseInt(elBefore.offsetHeight,10);
var elNew = document.createElement(el);
if (url != '') elNew.innerHTML='<a href="' + url + '"></a>';
elBefore.parentNode.insertBefore(elNew, elBefore);
});
}
function addPersonalBRHeight(label,margin) {
var el=document.getElementById(label);
var elTop = parseInt(margin?el.style.marginTop:el.style.top,10);
if (!elTop) elTop = 0;
elTop = ( personalHeight + elTop ) + "px";
if (margin) el.style.marginTop = elTop;
else el.style.top = elTop;
}
function addPersonalLink( url, label) { addPersonalElement('li', url, label); }
function addPersonalBR() {
addPersonalElement('br', '', '');
addOnloadHook(function()
{
addPersonalBRHeight('footer',true);
addPersonalBRHeight('content',false);
addPersonalBRHeight('p-cactions',true);
});
}
addPersonalLink( 'http://pl.wikipedia.org/w/index.php?title=Specjalna%3AStrony+wed%C5%82ug+prefiksu&from=Ludmi%C5%82a_Pilecka&namespace=2', 'Ludmiła' );
addPersonalLink( 'http://pl.wikipedia.org/w/index.php?title=Specjalna:Nowe_strony&hidepatrolled=1&limit=250', 'nowe' );
addPersonalLink( 'http://commons.wikimedia.orghttps://wikifreehand.com/pl/User:Ludmi%C5%82a_Pilecka', 'commons' );