Wikipedista:Packa/vector.js: Porovnání verzí

Z Wikipedie, otevřené encyklopedie
Smazaný obsah Přidaný obsah
+Commons
Radiosaltbird (diskuse | příspěvky)
úpravy dle dotazu
Řádek 18: Řádek 18:
caption = 'Service';
caption = 'Service';
addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/Service', caption, 'pt-sandbox', caption, '', document.getElementById('pt-preferences'));
addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/Service', caption, 'pt-sandbox-1', caption, '', document.getElementById('pt-preferences'));
}
}
{
{
Řádek 25: Řádek 25:
caption = 'Packoviště';
caption = 'Packoviště';
addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/Packoviště', caption, 'pt-sandbox', caption, '', document.getElementById('pt-preferences'));
addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/Packoviště', caption, 'pt-sandbox-2', caption, '', document.getElementById('pt-preferences'));
}
}
{
{
Řádek 32: Řádek 32:
caption = 'Commons';
caption = 'Commons';
addPortletLink('p-personal', wgServer + wgScript + '?title=Commons:User:Packa', caption, 'pt-sandbox', caption, '', document.getElementById('pt-preferences'));
addPortletLink('p-personal', wgServer + wgScript + '?title=Commons:User:Packa', caption, 'pt-sandbox-3', caption, '', document.getElementById('pt-preferences'));
}
}
});
});

Verze z 28. 5. 2015, 22:35

// ------------- PopUps ------------------
// ----- podle en:Wikipedia:Tools/Navigation popups -----
// [[wikipedia:User:Lupin/popups]]
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400");


// -------------- Odkaz na pískoviště -----------
// ---- autor: [[pl:Wikipedysta:Herr Kriss]] ----
 
var disableSandboxLink = 0;     // ustawienie tego na 1 lub true w swoim monobook.js pozwoli wyłączyć tę funkcjonalność
 
addOnloadHook(function()
{
        if (wgUserName != null && disableSandboxLink == 0)
        {
                var caption = 'Service'
                if (wgUserLanguage != 'cs')
                        caption = 'Service';
 
                addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/Service', caption, 'pt-sandbox-1', caption, '', document.getElementById('pt-preferences'));
        }
        {
                var caption = 'Packoviště'
                if (wgUserLanguage != 'cs')
                        caption = 'Packoviště';
 
                addPortletLink('p-personal', wgServer + wgScript + '?title=Special:Mypage/Packoviště', caption, 'pt-sandbox-2', caption, '', document.getElementById('pt-preferences'));
        }
        {
                var caption = 'Commons'
                if (wgUserLanguage != 'cs')
                        caption = 'Commons';
 
                addPortletLink('p-personal', wgServer + wgScript + '?title=Commons:User:Packa', caption, 'pt-sandbox-3', caption, '', document.getElementById('pt-preferences'));
        }
});