Content deleted Content added
Manishearth (talk | contribs) No edit summary |
Manishearth (talk | contribs) No edit summary |
||
Line 101:
currentLinkWin = window.open("about:blank","","")
currentLinkWin.___location.replace(wgServer+"/w/index.php?title=" + deOrphanDocumentLinkArray[linkACounter].replace(/\/wiki\//,"") + "&action=edit")
currentLinkWin.onload=function(){
currentLinkWin.addOnloadHook(function () {
openALInnerFunct()
});▼
}▼
}else{
currentLinkWin.addOnloadHook(function () {
openALInnerFunct()
});▼
}else{
openALInnerFunct()
}▼
}▼
}
function closeTheWindow(){▼
//alert("closing")▼
if(!currentLinkWin.addOnloadHook){
currentLinkWin.onload=function(){
currentLinkWin.addOnloadHook(function () {
closeTWInnerFunct()
});
}
}else{
if(!currentLinkWin.document.loaded){
currentLinkWin.addOnloadHook(function () {
closeTWInnerFunct()
});
}else{
closeTWInnerFunct()
}
}
}
function endOfLinkWins(){▼
alert("IT IS THE END!!!!!!!!!!")▼
}
function openALInnerFunct(){
if(currentLinkWin.wgCanonicalNamespace== ""){
currentLinkWin.deOrphanWikify(deOrphanPgName)
Line 111 ⟶ 150:
closeTheWindow()
}
▲});
}
function closeTWInnerFunct(){
▲}
▲function closeTheWindow(){
▲//alert("closing")
▲currentLinkWin.onload=function(){
▲currentLinkWin.addOnloadHook(function(){
currentLinkWin.close()
linkACounter++
Line 127 ⟶ 160:
}
▲})
}
▲}
▲function endOfLinkWins(){
▲alert("IT IS THE END!!!!!!!!!!")
▲}
|