Wikipedysta:Marcimon/myskin.js
// <pre><nowiki>
function topTabsToRightPlace() {
/* Remove the top "tabs" from the .portlet side column (why were they ever put there?) and
put them at the top of the content area, where they belong! (This allows me to use simple
relative positioning to get a proper layout. I don't have to mess around with absolute
positioning. This is necessary for my language links at the top to work properly, but it
is cleaner anyway. */
var contents = document.getElementById('column-content');
var tabs = document.getElementById('p-cactions');
tabs.parentNode.removeChild (tabs);
contents.insertBefore(tabs, contents.firstChild);
}
function reformatMyPage() {
bottomTabs();
topTabsToRightPlace(); /* First the top "tabs"... */
languageAtTop(); /* ... and then the language links */
/* The order is important here: first move the tabs, then the language links, otherwise they
will end up in the wrong order (tabs above language links). */
}
if (window.addEventListener) window.addEventListener("load",reformatMyPage,false);
else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);
/**
* Ajoutez le menu pour choisir des sous-ensembles de caractères spéciaux
* @note L'ordre de cette liste doit correspondre a celui de MediaWiki:Edittools !
*/
function addCharSubsetMenu() {
var specialchars = document.getElementById('specialchars');
if (specialchars) {
var menu = "<select style=\"display:inline\" onChange=\"chooseCharSubset(selectedIndex)\">";
menu += "<option>Szablony</option>";
menu += "<option>Wiki-składnia</option>";
menu += "<option>Europa Zachodnia</option>";
menu += "<option>Inne Alf. Łaciński</option>";
menu += "<option>Cyrylica</option>";
menu += "<option>Grecki</option>";
menu += "<option>Znaki dodatkowe</option>";
menu += "<option>Arabski, Hebrajski</option>";
menu += "<option>Gruziński, Ormiański</option>";
menu += "<option>Francuski</option>";
menu += "<option>Rosyjski</option>";
menu += "</select>";
specialchars.innerHTML = menu + specialchars.innerHTML;
/* default subset - try to use a cookie some day */
chooseCharSubset(0);
}
}
/* select subsection of special characters */
function chooseCharSubset(s) {
var l = document.getElementById('specialchars').getElementsByTagName('p');
for (var i = 0; i < l.length ; i++) {
l[i].style.display = i == s ? 'inline' : 'none';
l[i].style.visibility = i == s ? 'visible' : 'hidden';
}
}
/* do any Wiktionary-specific customizations */
function customizeWiktionary() {
addCharSubsetMenu();
}
if (window.addEventListener) window.addEventListener("load",customizeWiktionary,false);
else if (window.attachEvent) window.attachEvent("onload",customizeWiktionary);
/////////////////////////////////////
// POPUPY
/////////////////////////////////////
//
// Oryginalna wersja [[Wikipedia:Narzędzia/Navigation popups|Popups]]: [[:en:User:Lupin/popups.js]]
// Proszę zachować powyższe informacje.
//
//
// skrypt z polskim tłumaczeniem i poprawkami drobnymi
document.write('<script type="text/javascript" src=" \
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/popups.pl.js \
&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//
// Ustawienia
popupDelay=1; // opóźnienie w sekundach
popupFixRedirs=true; // naprawianie linków do przekierowań
popupFixDabs=true; // naprawianie linków do stron ujednoznaczniających
popupRevertSummaryPrompt=true; // możliwość zmiany tekstu przy revertowaniu
popupAdminLinks=true;
popupRedirAutoClick='wpSave';
// Dołączenie skryptu ze strony: [[Wikipedysta:Nux/hideSidebar.js]]
document.write('<script type="text/javascript" src=" \
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/hideSidebar.js \
&action=raw&ctype=text/javascript&dontcountme=s"></script>');
window.hideSidebarByDefault = true;
// Dołączenie skryptu ze strony: [[MediaWiki:Monobook.js]]
document.write('<script type="text/javascript" src=" \
http://pl.wikipedia.org/w/index.php?title=MediaWiki:Monobook.js \
&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// </nowiki></pre>
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.