User:Fl/vector.js and Talk:Podgórzyce, Łódź Voivodeship: Difference between pages

From Wikipedia, the free encyclopedia
(Difference between pages)
Content deleted Content added
m Testing scrolling toolbar function
 
OOODDD (talk | contribs)
talk page tag, Replaced: {{WikiProject Poland|class=stub|importance=}} → {{WikiProject Poland|class=stub|importance=low}} using AWB
 
Line 1: Line 1:
{{WikiProject Poland|class=stub|importance=low}}
// Selected TWINKLE scripts
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklearv.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklespeedy.js');

// Lupin's recent changes script
importScript('User:Lupin/recent2.js');

// Rollback summary script
importScript('User:Gracenotes/rollback.js');

// AJAX quick preview script
importScript('User:Sander_Säde/quickpreview.js');

// Qui script
importScript('User:TheDJ/qui.js');

// A useful saving edits script
importScript('User:Foxy Loxy/opennewwindowinstead.js');

// Shortcut links
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Jsimlo/shortcuts.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

function shortcutsInit ()
{
shortcutsStartSection ('Shortcuts');
shortcutsAddLink ('To Do List', 'User:Foxy Loxy/todolist');
shortcutsAddLink ('Mediation Cabal', 'Wikipedia:Mediation Cabal');
shortcutsAddLink ('Open tasks page', 'Wikipedia:Community Portal/Opentask');
shortcutsAddLink ('Articles for Deletion', 'Wikipedia:AFD');
shortcutsAddLink ('monobook.js', 'User:Foxy Loxy/monobook.js');
shortcutsAddLink ('monobook.css', 'User:FoxyLoxy/monobook.css');
shortcutsAddLink ('Special:Random', 'Special:Random');
shortcutsStartSection ('LoxyBot');
shortcutsAddLink ('Userpage', 'User:LoxyBot');
shortcutsAddLink ('Source page', 'User:LoxyBot/Source');
shortcutsAddLink ('Run page', 'User:LoxyBot/run');
shortcutsAddLink ('Contributions', 'Special:Contributions/LoxyBot');
}

// AfD Helper mod
importScript('User:Foxy Loxy/afdhelpermod.js');

// Vote symbols
importScript('User:Ais523/votesymbols.js');

// Edit counter
importScript('User:ais523/editcount.js');

// Add reference toolbar
importScript('User:Mr.Z-man/refToolbar.js');

// Moving toolbar script

document.write("<script type='text/javascript'>

var offsetfromedge=0 //offset from window edge when content is docked. Change if desired.
var dockarray=new Array() //array to cache dockit instances
var dkclear=new Array() //array to cache corresponding clearinterval pointers

function dockit(el, duration){
this.source=document.all? document.all[el] : document.getElementById(el);
this.source.height=this.source.offsetHeight;
this.docheight=truebody().clientHeight;
this.duration=duration;
this.pagetop=0;
this.elementoffset=this.getOffsetY();
dockarray[dockarray.length]=this;
var pointer=eval(dockarray.length-1);
var dynexpress='dkclear['+pointer+']=setInterval('dockornot(dockarray['+pointer+'])',100);';
dynexpress=(this.duration>0)? dynexpress+'setTimeout('clearInterval(dkclear['+pointer+']); dockarray['+pointer+'].source.style.top=0', duration*1000)' : dynexpress;
eval(dynexpress);
}

dockit.prototype.getOffsetY=function(){
var totaloffset=parseInt(this.source.offsetTop);
var parentEl=this.source.offsetParent;
while (parentEl!=null){
totaloffset+=parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function dockornot(obj){
obj.pagetop=truebody().scrollTop;
if (obj.pagetop>obj.elementoffset) //detect upper offset
obj.source.style.top=obj.pagetop-obj.elementoffset+offsetfromedge+'px';
else if (obj.pagetop+obj.docheight<obj.elementoffset+parseInt(obj.source.height)) //lower offset
obj.source.style.top=obj.pagetop+obj.docheight-obj.source.height-obj.elementoffset-offsetfromedge+'px';
else
obj.source.style.top=0;
}

function truebody(){
return (document.compatMode && document.compatMode!='BackCompat')? document.documentElement : document.body
}");

Revision as of 09:15, 11 October 2008

WikiProject iconPoland Stub‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Poland, a collaborative effort to improve the coverage of Poland on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.