Jump to content

User:Nux/vector-2022.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nux (talk | contribs) at 23:08, 7 February 2022 (vector pre). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
function nuxjs(js_wikiurl)
{
 document.write('<'+'script type="text/javascript" src="' + js_wikiurl + '&action=raw&ctype=text/javascript&dontcountme=s"'+'><'+'/'+'script>');
}

/*
== Popups ==
Original: [[:en:User:Lupin/popups.js]]
*/

// disabled by default
if (document.cookie.indexOf("popup_disabled=0")!=-1)
{

 //
 // Settings
 var simplePopups=true;
 var popupDelay=2;		// opóźnienie w sekundach
 var popupFixRedirs=true;	// naprawianie linków do przekierowań
 var popupFixDabs=true;	// naprawianie linków do stron ujednoznaczniających
 var popupRevertSummaryPrompt=true; // możliwość zmiany tekstu przy revertowaniu
 var popupOnlyArticleLinks=false;   // nie tylko linki z artykułów
 var imagePopupsForImages=false;    // nie wyświetlanie obrazków nad obrazkami
}

/*
== Various scripts ==
*/
mw.loader.load('//pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/common.js');

importScript('User:Nux/replylinks.js');

//nuxjs('http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/SearchBox.js');

// WP:NUX_CC
//var wp_sk_show_as_button = true; // show the button
//var wp_sk_redir_enabled = true; // AJAX redirects
//var wp_sk_debug_enabled = true;
//importScript('User:Nux/wp_sk.js')
//nuxjs('http://localhost/wp_sk.js?a');

/*
== Private ;) ==
*/
mw.loader.load('//pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/personalizacja.js');

// END OF User:Nux/vector.js